home *** CD-ROM | disk | FTP | other *** search
/ PC Plus SuperCD (UK) 2002 September / PCPlus_193_Laplink2000.iso / Trial / htmlvalid / csesetup.exe / {app} / htmlval50.cfg < prev    next >
Unknown  |  2002-03-22  |  422.3 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert Ableton project configuration (other/abletonProjectConfiguration) ext Unsupported
1% dexvert Above DISC Configuration (other/aboveDISCConfiguration) ext Unsupported
1% dexvert AutoSketch Configuration (other/autoSketchConfiguration) ext Unsupported
1% dexvert Dos Navigator 2 settings (other/dosNavigator2Settings) ext Unsupported
1% dexvert Eureka/Mercury Configuration (other/eurekaMercuryConfiguration) ext Unsupported
1% dexvert File Wizard Configuration (other/fileWizardConfiguration) ext Unsupported
1% dexvert Jeepers Configuration (other/jeepersConfiguration) ext Unsupported
1% dexvert Number Munchers Configuration (other/numberMunchersConfiguration) ext Unsupported
1% dexvert OPTune Configuration (other/opTuneConfiguration) ext Unsupported
1% dexvert PDC Prolog Configuration (other/pdcPrologConfiguration) ext Unsupported
1% dexvert PKZMENU Configuration (other/pKZMENUConfiguration) ext Unsupported
1% dexvert Protext Configuration (other/protextConfiguration) ext Unsupported
1% dexvert RAR Configuration (other/rarConfiguration) ext Unsupported
1% dexvert Sango Fighter Configuration (other/sangoFighterConfiguration) ext Unsupported
1% dexvert Stare-EO Workshop configuration (other/stareEOWorkshopConfig) ext Unsupported
1% dexvert Super Angelo Configuration (other/superAngeloConfiguration) ext Unsupported
1% dexvert SuperScape Configuration (other/superScapeConfiguration) ext Unsupported
1% dexvert The Perfect General File (other/thePerfectGeneralFile) ext Unsupported
1% dexvert Vortex ATonce Configuration (other/vortexATonceConfiguration) ext Unsupported
1% dexvert West Adventure Configuration (other/westAdventureConfiguration) ext Unsupported
1% dexvert Wordsearch Mania! Configuration (other/wordsearchManiaConfiguration) ext Unsupported
1% dexvert Z.A.R. Navigator Configuration (other/zarNavigatorConfiguration) ext Unsupported
1% dexvert Zyclunt Configuration (other/zycluntConfiguration) ext Unsupported
1% dexvert Empire II: The Art of War Configuration (other/empire2TheArtOfWarConfiguration) ext Unsupported
1% dexvert Empire Deluxe Configuration (other/empireDeluxeConfig) ext Unsupported
1% dexvert Enlightenment EET archive (other/enlightenmentEETArchive) ext Unsupported
1% dexvert idMAS Configuration (other/idMASConfiguration) ext Unsupported
1% dexvert Inertia Player Configuration (other/inertiaPlayerConfiguration) ext Unsupported
1% dexvert Javelin Configuration (other/javelinConfiguration) ext Unsupported
1% dexvert Kasparov's Gambit Configuration (other/kasparovSGambitConfiguration) ext Unsupported
1% dexvert KGen Configuration (other/kGenConfiguration) ext Unsupported
1% dexvert PLBM Games Configuration (other/plbmGamesConfiguration) ext Unsupported
1% dexvert VGA-Copy Configuration (other/vgaCopyConfiguration) ext Unsupported
100% file data default
100% TrID AceMoney data default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 06 00 00 00 01 00 00 00 | 00 00 00 00 79 01 00 00 |........|....y...|
|00000010| 52 03 00 00 26 01 00 00 | 2b 00 00 00 05 00 00 00 |R...&...|+.......|
|00000020| 00 00 00 00 01 00 00 00 | f4 08 00 00 0d 0a 43 53 |........|......CS|
|00000030| 45 20 48 54 4d 4c 20 56 | 61 6c 69 64 61 74 6f 72 |E HTML V|alidator|
|00000040| 20 28 63 29 20 31 39 39 | 37 2d 32 30 30 32 20 62 | (c) 199|7-2002 b|
|00000050| 79 20 41 49 20 49 6e 74 | 65 72 6e 65 74 20 53 6f |y AI Int|ernet So|
|00000060| 6c 75 74 69 6f 6e 73 0d | 0a 68 74 74 70 3a 2f 2f |lutions.|.http://|
|00000070| 77 77 77 2e 68 74 6d 6c | 76 61 6c 69 64 61 74 6f |www.html|validato|
|00000080| 72 2e 63 6f 6d 2f 0d 0a | 0d 0a 54 68 69 73 20 69 |r.com/..|..This i|
|00000090| 73 20 74 68 65 20 63 6f | 6e 66 69 67 75 72 61 74 |s the co|nfigurat|
|000000a0| 69 6f 6e 20 66 6f 72 20 | 43 53 45 20 48 54 4d 4c |ion for |CSE HTML|
|000000b0| 20 56 61 6c 69 64 61 74 | 6f 72 20 50 72 6f 66 65 | Validat|or Profe|
|000000c0| 73 73 69 6f 6e 61 6c 20 | 76 35 2e 30 30 30 30 20 |ssional |v5.0000 |
|000000d0| 61 6e 64 20 61 62 6f 76 | 65 2e 0d 0a 0d 0a 41 6e |and abov|e.....An|
|000000e0| 20 69 6d 70 6f 72 74 61 | 6e 74 20 63 68 61 72 61 | importa|nt chara|
|000000f0| 63 74 65 72 69 73 74 69 | 63 20 6f 66 20 74 68 69 |cteristi|c of thi|
|00000100| 73 20 63 6f 6e 66 69 67 | 75 72 61 74 69 6f 6e 20 |s config|uration |
|00000110| 69 73 20 74 68 61 74 20 | 74 68 65 20 63 61 74 65 |is that |the cate|
|00000120| 67 6f 72 69 65 73 20 6f | 66 20 48 54 4d 4c 20 61 |gories o|f HTML a|
|00000130| 72 65 20 62 75 69 6c 74 | 20 75 70 6f 6e 20 6f 6e |re built| upon on|
|00000140| 65 20 61 6e 6f 74 68 65 | 72 2e 20 54 68 69 73 20 |e anothe|r. This |
|00000150| 6d 65 61 6e 73 20 74 68 | 61 74 20 69 66 20 79 6f |means th|at if yo|
|00000160| 75 20 77 61 6e 74 20 74 | 6f 20 76 61 6c 69 64 61 |u want t|o valida|
|00000170| 74 65 20 61 67 61 69 6e | 73 74 20 48 54 4d 4c 20 |te again|st HTML |
|00000180| 33 2e 32 2c 20 79 6f 75 | 20 6d 75 73 74 20 61 6c |3.2, you| must al|
|00000190| 73 6f 20 6d 61 6b 65 20 | 74 68 65 20 63 61 74 65 |so make |the cate|
|000001a0| 67 6f 72 79 20 48 54 4d | 4c 20 32 2e 30 20 61 63 |gory HTM|L 2.0 ac|
|000001b0| 74 69 76 65 2c 20 69 6e | 20 61 64 64 69 74 69 6f |tive, in| additio|
|000001c0| 6e 20 74 6f 20 6d 61 6b | 69 6e 67 20 74 68 65 20 |n to mak|ing the |
|000001d0| 63 61 74 65 67 6f 72 79 | 20 48 54 4d 4c 20 33 2e |category| HTML 3.|
|000001e0| 32 20 61 63 74 69 76 65 | 2e 20 49 66 20 79 6f 75 |2 active|. If you|
|000001f0| 20 77 61 6e 74 20 74 6f | 20 76 61 6c 69 64 61 74 | want to| validat|
|00000200| 65 20 61 67 61 69 6e 73 | 74 20 48 54 4d 4c 20 34 |e agains|t HTML 4|
|00000210| 2e 30 2c 20 79 6f 75 20 | 6d 75 73 74 20 6d 61 6b |.0, you |must mak|
|00000220| 65 20 74 68 65 20 63 61 | 74 65 67 6f 72 69 65 73 |e the ca|tegories|
|00000230| 20 48 54 4d 4c 20 32 2e | 30 2c 20 48 54 4d 4c 20 | HTML 2.|0, HTML |
|00000240| 33 2e 32 2c 20 61 6e 64 | 20 48 54 4d 4c 20 34 2e |3.2, and| HTML 4.|
|00000250| 30 20 61 63 74 69 76 65 | 2e 20 59 6f 75 20 63 61 |0 active|. You ca|
|00000260| 6e 6e 6f 74 20 6d 61 6b | 65 20 6a 75 73 74 20 74 |nnot mak|e just t|
|00000270| 68 65 20 63 61 74 65 67 | 6f 72 79 20 48 54 4d 4c |he categ|ory HTML|
|00000280| 20 34 2e 30 20 61 63 74 | 69 76 65 2e 20 54 68 69 | 4.0 act|ive. Thi|
|00000290| 73 20 69 73 20 62 65 63 | 61 75 73 65 20 74 68 65 |s is bec|ause the|
|000002a0| 20 63 61 74 65 67 6f 72 | 79 20 48 54 4d 4c 20 34 | categor|y HTML 4|
|000002b0| 2e 30 20 72 65 71 75 69 | 72 65 73 20 74 68 65 20 |.0 requi|res the |
|000002c0| 63 61 74 65 67 6f 72 79 | 20 48 54 4d 4c 20 33 2e |category| HTML 3.|
|000002d0| 32 20 61 73 20 69 74 73 | 20 22 66 6f 75 6e 64 61 |2 as its| "founda|
|000002e0| 74 69 6f 6e 22 2c 20 61 | 6e 64 20 74 68 65 20 63 |tion", a|nd the c|
|000002f0| 61 74 65 67 6f 72 79 20 | 48 54 4d 4c 20 33 2e 32 |ategory |HTML 3.2|
|00000300| 20 72 65 71 75 69 72 65 | 73 20 74 68 65 20 63 61 | require|s the ca|
|00000310| 74 65 67 6f 72 79 20 48 | 54 4d 4c 20 32 2e 30 20 |tegory H|TML 2.0 |
|00000320| 61 73 20 69 74 73 20 22 | 66 6f 75 6e 64 61 74 69 |as its "|foundati|
|00000330| 6f 6e 22 20 2e 0d 0a 0d | 0a 54 6f 20 76 61 6c 69 |on" ....|.To vali|
|00000340| 64 61 74 65 20 66 6f 72 | 20 4d 69 63 72 6f 73 6f |date for| Microso|
|00000350| 66 74 20 49 6e 74 65 72 | 6e 65 74 20 45 78 70 6c |ft Inter|net Expl|
|00000360| 6f 72 65 72 20 28 4d 69 | 63 72 6f 73 6f 66 74 20 |orer (Mi|crosoft |
|00000370| 49 45 29 2c 20 79 6f 75 | 20 77 69 6c 6c 20 61 6c |IE), you| will al|
|00000380| 73 6f 20 6e 65 65 64 20 | 74 6f 20 6d 61 6b 65 20 |so need |to make |
|00000390| 74 68 65 20 63 61 74 65 | 67 6f 72 69 65 73 20 48 |the cate|gories H|
|000003a0| 54 4d 4c 20 32 2e 30 2c | 20 48 54 4d 4c 20 33 2e |TML 2.0,| HTML 3.|
|000003b0| 32 2c 20 61 6e 64 20 28 | 66 6f 72 20 4d 53 20 49 |2, and (|for MS I|
|000003c0| 45 20 34 2e 30 20 6f 6e | 6c 79 29 20 48 54 4d 4c |E 4.0 on|ly) HTML|
|000003d0| 20 34 2e 30 20 61 63 74 | 69 76 65 20 61 73 20 77 | 4.0 act|ive as w|
|000003e0| 65 6c 6c 20 61 73 20 74 | 68 65 20 63 61 74 65 67 |ell as t|he categ|
|000003f0| 6f 72 79 20 66 6f 72 20 | 74 68 65 20 4d 69 63 72 |ory for |the Micr|
|00000400| 6f 73 6f 66 74 20 49 45 | 20 45 78 74 65 6e 73 69 |osoft IE| Extensi|
|00000410| 6f 6e 73 20 79 6f 75 20 | 77 69 73 68 20 74 6f 20 |ons you |wish to |
|00000420| 75 73 65 20 28 65 69 74 | 68 65 72 20 33 2e 30 20 |use (eit|her 3.0 |
|00000430| 6f 72 20 34 2e 30 29 2e | 20 49 66 20 79 6f 75 20 |or 4.0).| If you |
|00000440| 6d 61 6b 65 20 74 68 65 | 20 4d 69 63 72 6f 73 6f |make the| Microso|
|00000450| 66 74 20 49 45 20 34 2e | 30 20 45 78 74 65 6e 73 |ft IE 4.|0 Extens|
|00000460| 69 6f 6e 73 20 63 61 74 | 65 67 6f 72 79 20 61 63 |ions cat|egory ac|
|00000470| 74 69 76 65 2c 20 79 6f | 75 20 6d 75 73 74 20 61 |tive, yo|u must a|
|00000480| 6c 73 6f 20 6d 61 6b 65 | 20 74 68 65 20 4d 69 63 |lso make| the Mic|
|00000490| 72 6f 73 6f 66 74 20 49 | 45 20 33 2e 30 20 45 78 |rosoft I|E 3.0 Ex|
|000004a0| 74 65 6e 73 69 6f 6e 73 | 20 63 61 74 65 67 6f 72 |tensions| categor|
|000004b0| 79 20 61 63 74 69 76 65 | 2e 0d 0a 0d 0a 41 20 73 |y active|.....A s|
|000004c0| 69 6d 69 6c 61 72 20 73 | 69 74 75 61 74 69 6f 6e |imilar s|ituation|
|000004d0| 20 61 70 70 6c 69 65 73 | 20 66 6f 72 20 4e 65 74 | applies| for Net|
|000004e0| 73 63 61 70 65 20 45 78 | 74 65 6e 73 69 6f 6e 73 |scape Ex|tensions|
|000004f0| 2e 20 59 6f 75 20 77 69 | 6c 6c 20 68 61 76 65 20 |. You wi|ll have |
|00000500| 74 6f 20 73 65 6c 65 63 | 74 20 74 68 65 20 4e 65 |to selec|t the Ne|
|00000510| 74 73 63 61 70 65 20 45 | 78 74 65 6e 73 69 6f 6e |tscape E|xtension|
|00000520| 20 63 61 74 65 67 6f 72 | 79 20 74 68 61 74 20 79 | categor|y that y|
|00000530| 6f 75 20 77 69 73 68 20 | 74 6f 20 76 61 6c 69 64 |ou wish |to valid|
|00000540| 61 74 65 20 61 67 61 69 | 6e 73 74 2c 20 61 73 20 |ate agai|nst, as |
|00000550| 77 65 6c 6c 20 61 73 20 | 48 54 4d 4c 20 32 2e 30 |well as |HTML 2.0|
|00000560| 2c 20 48 54 4d 4c 20 33 | 2e 32 2c 20 61 6e 64 20 |, HTML 3|.2, and |
|00000570| 6f 74 68 65 72 20 22 66 | 6f 75 6e 64 61 74 69 6f |other "f|oundatio|
|00000580| 6e 22 20 63 61 74 65 67 | 6f 72 69 65 73 20 74 68 |n" categ|ories th|
|00000590| 61 74 20 4e 65 74 73 63 | 61 70 65 20 73 75 70 70 |at Netsc|ape supp|
|000005a0| 6f 72 74 73 2e 0d 0a 0d | 0a 54 68 65 20 57 65 62 |orts....|.The Web|
|000005b0| 54 56 20 63 61 74 65 67 | 6f 72 79 20 72 65 71 75 |TV categ|ory requ|
|000005c0| 69 72 65 73 20 61 74 20 | 6c 65 61 73 74 20 74 68 |ires at |least th|
|000005d0| 65 20 48 54 4d 4c 2c 20 | 4d 69 63 72 6f 73 6f 66 |e HTML, |Microsof|
|000005e0| 74 20 49 45 20 45 78 74 | 65 6e 73 69 6f 6e 73 2c |t IE Ext|ensions,|
|000005f0| 20 4e 65 74 73 63 61 70 | 65 20 45 78 74 65 6e 73 | Netscap|e Extens|
|00000600| 69 6f 6e 73 2c 20 61 6e | 64 20 54 61 62 6c 65 73 |ions, an|d Tables|
|00000610| 20 63 61 74 65 67 6f 72 | 69 65 73 20 61 63 74 69 | categor|ies acti|
|00000620| 76 65 20 66 6f 72 20 66 | 75 6c 6c 20 73 75 70 70 |ve for f|ull supp|
|00000630| 6f 72 74 2e 0d 0a 0d 0a | 54 68 65 20 53 4d 49 4c |ort.....|The SMIL|
|00000640| 2c 20 52 65 61 6c 54 65 | 78 74 2c 20 61 6e 64 20 |, RealTe|xt, and |
|00000650| 57 4d 4c 20 63 61 74 65 | 67 6f 72 69 65 73 20 61 |WML cate|gories a|
|00000660| 72 65 20 61 75 74 6f 6d | 61 74 69 63 61 6c 6c 79 |re autom|atically|
|00000670| 20 61 63 74 69 76 61 74 | 65 64 20 69 66 20 6e 65 | activat|ed if ne|
|00000680| 65 64 65 64 20 62 79 20 | 74 68 65 20 74 61 67 20 |eded by |the tag |
|00000690| 6e 61 6d 65 20 70 72 6f | 67 72 61 6d 73 20 66 6f |name pro|grams fo|
|000006a0| 72 20 74 68 65 20 72 65 | 73 70 65 63 74 69 76 65 |r the re|spective|
|000006b0| 20 74 61 67 73 2e 0d 0a | 0d 0a 54 68 65 20 53 4d | tags...|..The SM|
|000006c0| 49 4c 20 63 61 74 65 67 | 6f 72 79 20 6f 6e 6c 79 |IL categ|ory only|
|000006d0| 20 72 65 71 75 69 72 65 | 73 20 74 68 65 20 45 6c | require|s the El|
|000006e0| 65 6d 65 6e 74 20 49 64 | 65 6e 74 69 66 69 65 72 |ement Id|entifier|
|000006f0| 73 20 63 61 74 65 67 6f | 72 79 20 61 63 74 69 76 |s catego|ry activ|
|00000700| 65 20 69 66 20 79 6f 75 | 20 77 69 6c 6c 20 75 73 |e if you| will us|
|00000710| 65 20 74 68 65 20 49 44 | 20 61 74 74 72 69 62 75 |e the ID| attribu|
|00000720| 74 65 2e 20 4f 74 68 65 | 72 20 63 61 74 65 67 6f |te. Othe|r catego|
|00000730| 72 69 65 73 20 6d 61 79 | 20 62 65 20 64 65 61 63 |ries may| be deac|
|00000740| 74 69 76 61 74 65 64 2e | 20 54 68 65 20 74 61 67 |tivated.| The tag|
|00000750| 20 6e 61 6d 65 20 70 72 | 6f 67 72 61 6d 20 66 6f | name pr|ogram fo|
|00000760| 72 20 74 68 65 20 53 4d | 49 4c 20 74 61 67 20 61 |r the SM|IL tag a|
|00000770| 75 74 6f 6d 61 74 69 63 | 61 6c 6c 79 20 64 69 73 |utomatic|ally dis|
|00000780| 61 62 6c 65 73 20 6d 6f | 73 74 20 6f 74 68 65 72 |ables mo|st other|
|00000790| 20 63 61 74 65 67 6f 72 | 69 65 73 2c 20 73 6f 20 | categor|ies, so |
|000007a0| 79 6f 75 20 64 6f 6e 27 | 74 20 68 61 76 65 20 74 |you don'|t have t|
|000007b0| 6f 20 64 69 73 61 62 6c | 65 20 61 6e 79 20 63 61 |o disabl|e any ca|
|000007c0| 74 65 67 6f 72 69 65 73 | 20 66 6f 72 20 53 4d 49 |tegories| for SMI|
|000007d0| 4c 20 73 79 6e 74 61 78 | 20 63 68 65 63 6b 69 6e |L syntax| checkin|
|000007e0| 67 2e 0d 0a 0d 0a 54 68 | 65 20 57 4d 4c 20 63 61 |g.....Th|e WML ca|
|000007f0| 74 65 67 6f 72 79 20 72 | 65 71 75 69 72 65 73 20 |tegory r|equires |
|00000800| 74 68 65 20 58 4d 4c 20 | 31 2e 30 20 63 61 74 65 |the XML |1.0 cate|
|00000810| 67 6f 72 79 2e 0d 0a 0d | 0a 54 68 65 20 64 65 66 |gory....|.The def|
|00000820| 61 75 6c 74 20 69 73 20 | 66 6f 72 20 6d 6f 73 74 |ault is |for most|
|00000830| 20 63 61 74 65 67 6f 72 | 69 65 73 20 74 6f 20 62 | categor|ies to b|
|00000840| 65 20 61 63 74 69 76 65 | 2e 20 54 61 67 20 6e 61 |e active|. Tag na|
|00000850| 6d 65 20 70 72 6f 67 72 | 61 6d 73 20 77 69 6c 6c |me progr|ams will|
|00000860| 20 61 63 74 69 76 61 74 | 65 20 61 6e 64 20 64 65 | activat|e and de|
|00000870| 61 63 74 69 76 61 74 65 | 20 63 65 72 74 61 69 6e |activate| certain|
|00000880| 20 63 61 74 65 67 6f 72 | 69 65 73 20 61 73 20 6e | categor|ies as n|
|00000890| 65 65 64 65 64 2e 0d 0a | 0d 0a 46 6f 72 20 6d 6f |eeded...|..For mo|
|000008a0| 72 65 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 20 61 |re infor|mation a|
|000008b0| 62 6f 75 74 20 74 68 69 | 73 20 48 54 4d 4c 20 43 |bout thi|s HTML C|
|000008c0| 6f 6e 66 69 67 75 72 61 | 74 69 6f 6e 2c 20 70 6c |onfigura|tion, pl|
|000008d0| 65 61 73 65 20 76 69 73 | 69 74 0d 0a 68 74 74 70 |ease vis|it..http|
|000008e0| 3a 2f 2f 77 77 77 2e 68 | 74 6d 6c 76 61 6c 69 64 |://www.h|tmlvalid|
|000008f0| 61 74 6f 72 2e 63 6f 6d | 2f 68 74 6d 6c 76 61 6c |ator.com|/htmlval|
|00000900| 2f 76 35 30 2f 64 6f 63 | 73 2f 68 74 6d 6c 63 6f |/v50/doc|s/htmlco|
|00000910| 6e 66 69 67 75 72 61 74 | 69 6f 6e 2e 68 74 6d 6c |nfigurat|ion.html|
|00000920| 01 00 00 00 09 00 00 00 | 32 30 30 32 30 33 32 32 |........|20020322|
|00000930| 31 01 00 00 00 1e 2d 00 | 00 0d 0a 23 6d 73 67 74 |1.....-.|...#msgt|
|00000940| 79 70 65 3d 24 4d 53 47 | 5f 43 4f 4d 4d 45 4e 54 |ype=$MSG|_COMMENT|
|00000950| 3b 0d 0a 23 62 79 74 65 | 73 3d 67 65 74 56 61 6c |;..#byte|s=getVal|
|00000960| 75 65 49 6e 74 28 31 37 | 29 3b 0d 0a 40 41 57 43 |ueInt(17|);..@AWC|
|00000970| 68 65 63 6b 49 6e 74 65 | 72 6e 61 6c 4c 69 6e 6b |heckInte|rnalLink|
|00000980| 73 28 29 3b 0d 0a 0d 0a | 2f 2a 20 69 66 20 48 54 |s();....|/* if HT|
|00000990| 4d 4c 20 6f 72 20 58 48 | 54 4d 4c 20 64 6f 63 75 |ML or XH|TML docu|
|000009a0| 6d 65 6e 74 20 2a 2f 0d | 0a 69 66 20 28 20 28 24 |ment */.|.if ( ($|
|000009b0| 64 6f 63 75 6d 65 6e 74 | 74 79 70 65 3d 3d 30 29 |document|type==0)|
|000009c0| 20 7c 7c 20 28 24 64 6f | 63 75 6d 65 6e 74 74 79 | || ($do|cumentty|
|000009d0| 70 65 3d 3d 34 29 20 29 | 20 7b 0d 0a 20 23 68 74 |pe==4) )| {.. #ht|
|000009e0| 6d 6c 74 79 70 65 64 6f | 63 3d 31 3b 0d 0a 7d 0d |mltypedo|c=1;..}.|
|000009f0| 0a 65 6c 73 65 20 7b 0d | 0a 20 23 68 74 6d 6c 74 |.else {.|. #htmlt|
|00000a00| 79 70 65 64 6f 63 3d 30 | 3b 0d 0a 7d 0d 0a 0d 0a |ypedoc=0|;..}....|
|00000a10| 69 66 20 28 20 69 73 46 | 6c 61 67 53 65 74 28 33 |if ( isF|lagSet(3|
|00000a20| 37 29 20 29 20 7b 0d 0a | 20 4d 65 73 73 61 67 65 |7) ) {..| Message|
|00000a30| 28 24 64 6f 63 75 6d 65 | 6e 74 74 79 70 65 3d 3d |($docume|nttype==|
|00000a40| 31 2c 20 24 4d 53 47 5f | 43 4f 4d 4d 45 4e 54 2c |1, $MSG_|COMMENT,|
|00000a50| 20 22 5b 33 37 5d 20 53 | 4d 49 4c 20 64 6f 63 75 | "[37] S|MIL docu|
|00000a60| 6d 65 6e 74 20 64 65 74 | 65 63 74 65 64 2e 22 29 |ment det|ected.")|
|00000a70| 3b 0d 0a 20 4d 65 73 73 | 61 67 65 28 24 64 6f 63 |;.. Mess|age($doc|
|00000a80| 75 6d 65 6e 74 74 79 70 | 65 3d 3d 32 2c 20 24 4d |umenttyp|e==2, $M|
|00000a90| 53 47 5f 43 4f 4d 4d 45 | 4e 54 2c 20 22 5b 33 37 |SG_COMME|NT, "[37|
|00000aa0| 5d 20 52 65 61 6c 54 65 | 78 74 20 64 6f 63 75 6d |] RealTe|xt docum|
|00000ab0| 65 6e 74 20 64 65 74 65 | 63 74 65 64 2e 22 29 3b |ent dete|cted.");|
|00000ac0| 0d 0a 20 4d 65 73 73 61 | 67 65 28 24 64 6f 63 75 |.. Messa|ge($docu|
|00000ad0| 6d 65 6e 74 74 79 70 65 | 3d 3d 33 2c 20 24 4d 53 |menttype|==3, $MS|
|00000ae0| 47 5f 43 4f 4d 4d 45 4e | 54 2c 20 22 5b 33 37 5d |G_COMMEN|T, "[37]|
|00000af0| 20 57 4d 4c 20 64 6f 63 | 75 6d 65 6e 74 20 64 65 | WML doc|ument de|
|00000b00| 74 65 63 74 65 64 2e 22 | 29 3b 0d 0a 20 4d 65 73 |tected."|);.. Mes|
|00000b10| 73 61 67 65 28 24 64 6f | 63 75 6d 65 6e 74 74 79 |sage($do|cumentty|
|00000b20| 70 65 3d 3d 34 2c 20 24 | 4d 53 47 5f 43 4f 4d 4d |pe==4, $|MSG_COMM|
|00000b30| 45 4e 54 2c 20 22 5b 33 | 37 5d 20 58 48 54 4d 4c |ENT, "[3|7] XHTML|
|00000b40| 20 64 6f 63 75 6d 65 6e | 74 20 64 65 74 65 63 74 | documen|t detect|
|00000b50| 65 64 2e 22 29 3b 0d 0a | 20 4d 65 73 73 61 67 65 |ed.");..| Message|
|00000b60| 28 24 64 6f 63 75 6d 65 | 6e 74 74 79 70 65 3d 3d |($docume|nttype==|
|00000b70| 35 2c 20 24 4d 53 47 5f | 43 4f 4d 4d 45 4e 54 2c |5, $MSG_|COMMENT,|
|00000b80| 20 22 5b 33 37 5d 20 43 | 53 45 20 54 61 67 20 49 | "[37] C|SE Tag I|
|00000b90| 6e 73 65 72 74 65 72 20 | 63 6f 6e 66 69 67 75 72 |nserter |configur|
|00000ba0| 61 74 69 6f 6e 20 64 65 | 74 65 63 74 65 64 2e 22 |ation de|tected."|
|00000bb0| 29 3b 0d 0a 20 4d 65 73 | 73 61 67 65 28 73 65 74 |);.. Mes|sage(set|
|00000bc0| 46 6c 61 67 28 31 2c 32 | 30 39 37 31 35 32 2c 2d |Flag(1,2|097152,-|
|00000bd0| 31 29 3d 3d 31 2c 20 24 | 4d 53 47 5f 43 4f 4d 4d |1)==1, $|MSG_COMM|
|00000be0| 45 4e 54 2c 20 22 5b 33 | 37 5d 20 43 6f 6c 64 20 |ENT, "[3|7] Cold |
|00000bf0| 46 75 73 69 6f 6e 20 28 | 43 46 4d 4c 29 20 64 6f |Fusion (|CFML) do|
|00000c00| 63 75 6d 65 6e 74 20 64 | 65 74 65 63 74 65 64 2e |cument d|etected.|
|00000c10| 22 29 3b 0d 0a 7d 0d 0a | 0d 0a 24 66 72 61 6d 65 |");..}..|..$frame|
|00000c20| 73 65 74 74 61 67 75 73 | 65 64 3d 30 3b 0d 0a 69 |settagus|ed=0;..i|
|00000c30| 66 20 28 20 69 73 44 65 | 66 69 6e 65 64 28 22 66 |f ( isDe|fined("f|
|00000c40| 72 61 6d 65 73 65 74 74 | 61 67 63 6f 75 6e 74 22 |ramesett|agcount"|
|00000c50| 29 20 29 20 7b 0d 0a 20 | 69 66 20 28 20 24 66 72 |) ) {.. |if ( $fr|
|00000c60| 61 6d 65 73 65 74 74 61 | 67 63 6f 75 6e 74 3e 30 |amesetta|gcount>0|
|00000c70| 29 20 7b 0d 0a 20 20 24 | 66 72 61 6d 65 73 65 74 |) {.. $|frameset|
|00000c80| 74 61 67 75 73 65 64 3d | 31 3b 0d 0a 20 7d 0d 0a |tagused=|1;.. }..|
|00000c90| 7d 0d 0a 0d 0a 24 64 6f | 63 74 79 70 65 76 61 6c |}....$do|ctypeval|
|00000ca0| 75 65 3d 67 65 74 56 61 | 6c 75 65 53 74 72 69 6e |ue=getVa|lueStrin|
|00000cb0| 67 28 33 29 3b 0d 0a 69 | 66 20 28 20 24 66 72 61 |g(3);..i|f ( $fra|
|00000cc0| 6d 65 73 65 74 74 61 67 | 75 73 65 64 20 29 20 7b |mesettag|used ) {|
|00000cd0| 0d 0a 20 69 66 20 28 20 | 73 74 72 6c 65 6e 28 24 |.. if ( |strlen($|
|00000ce0| 64 6f 63 74 79 70 65 76 | 61 6c 75 65 29 3e 30 20 |doctypev|alue)>0 |
|00000cf0| 29 20 7b 0d 0a 20 20 69 | 66 20 28 20 67 65 74 53 |) {.. i|f ( getS|
|00000d00| 74 72 69 6e 67 53 74 61 | 72 74 49 6e 64 65 78 28 |tringSta|rtIndex(|
|00000d10| 24 64 6f 63 74 79 70 65 | 76 61 6c 75 65 2c 20 22 |$doctype|value, "|
|00000d20| 46 72 61 6d 65 73 65 74 | 22 29 3c 30 20 29 20 7b |Frameset|")<0 ) {|
|00000d30| 0d 0a 20 20 20 4d 65 73 | 73 61 67 65 28 31 2c 20 |.. Mes|sage(1, |
|00000d40| 24 4d 53 47 5f 45 52 52 | 4f 52 2c 20 27 54 68 69 |$MSG_ERR|OR, 'Thi|
|00000d50| 73 20 61 70 70 65 61 72 | 73 20 74 6f 20 62 65 20 |s appear|s to be |
|00000d60| 61 20 66 72 61 6d 65 73 | 65 74 20 64 6f 63 75 6d |a frames|et docum|
|00000d70| 65 6e 74 20 28 74 68 65 | 20 22 66 72 61 6d 65 73 |ent (the| "frames|
|00000d80| 65 74 22 20 65 6c 65 6d | 65 6e 74 20 77 61 73 20 |et" elem|ent was |
|00000d90| 75 73 65 64 29 20 77 69 | 74 68 6f 75 74 20 61 6e |used) wi|thout an|
|00000da0| 20 61 70 70 72 6f 70 72 | 69 61 74 65 20 66 72 61 | appropr|iate fra|
|00000db0| 6d 65 73 65 74 20 44 4f | 43 54 59 50 45 20 64 65 |meset DO|CTYPE de|
|00000dc0| 63 6c 61 72 61 74 69 6f | 6e 2e 20 46 6f 72 20 65 |claratio|n. For e|
|00000dd0| 78 61 6d 70 6c 65 2c 20 | 66 72 61 6d 65 73 65 74 |xample, |frameset|
|00000de0| 20 48 54 4d 4c 20 64 6f | 63 75 6d 65 6e 74 73 20 | HTML do|cuments |
|00000df0| 73 68 6f 75 6c 64 20 62 | 65 67 69 6e 20 77 69 74 |should b|egin wit|
|00000e00| 68 20 61 20 6c 69 6e 65 | 20 73 69 6d 69 6c 61 72 |h a line| similar|
|00000e10| 20 74 6f 20 3c 21 44 4f | 43 54 59 50 45 20 48 54 | to <!DO|CTYPE HT|
|00000e20| 4d 4c 20 50 55 42 4c 49 | 43 20 22 2d 2f 2f 57 33 |ML PUBLI|C "-//W3|
|00000e30| 43 2f 2f 44 54 44 20 48 | 54 4d 4c 20 34 2e 30 31 |C//DTD H|TML 4.01|
|00000e40| 20 46 72 61 6d 65 73 65 | 74 2f 2f 45 4e 22 20 22 | Framese|t//EN" "|
|00000e50| 68 74 74 70 3a 2f 2f 77 | 77 77 2e 77 33 2e 6f 72 |http://w|ww.w3.or|
|00000e60| 67 2f 54 52 2f 68 74 6d | 6c 34 2f 66 72 61 6d 65 |g/TR/htm|l4/frame|
|00000e70| 73 65 74 2e 64 74 64 22 | 3e 2e 27 20 2b 20 24 75 |set.dtd"|>.' + $u|
|00000e80| 73 69 6e 67 69 6e 74 65 | 64 69 74 6f 72 61 64 64 |singinte|ditoradd|
|00000e90| 74 61 67 6d 73 67 29 3b | 0d 0a 20 20 7d 0d 0a 20 |tagmsg);|.. }.. |
|00000ea0| 7d 0d 0a 7d 0d 0a 65 6c | 73 65 20 7b 0d 0a 20 69 |}..}..el|se {.. i|
|00000eb0| 66 20 28 20 67 65 74 53 | 74 72 69 6e 67 53 74 61 |f ( getS|tringSta|
|00000ec0| 72 74 49 6e 64 65 78 28 | 24 64 6f 63 74 79 70 65 |rtIndex(|$doctype|
|00000ed0| 76 61 6c 75 65 2c 20 22 | 46 72 61 6d 65 73 65 74 |value, "|Frameset|
|00000ee0| 22 29 3e 30 20 29 20 7b | 0d 0a 20 20 4d 65 73 73 |")>0 ) {|.. Mess|
|00000ef0| 61 67 65 28 31 2c 20 24 | 4d 53 47 5f 57 41 52 4e |age(1, $|MSG_WARN|
|00000f00| 49 4e 47 2c 20 27 54 68 | 69 73 20 64 6f 63 75 6d |ING, 'Th|is docum|
|00000f10| 65 6e 74 20 77 61 73 20 | 64 65 63 6c 61 72 65 64 |ent was |declared|
|00000f20| 20 62 79 20 74 68 65 20 | 44 4f 43 54 59 50 45 20 | by the |DOCTYPE |
|00000f30| 64 65 63 6c 61 72 61 74 | 69 6f 6e 20 61 73 20 62 |declarat|ion as b|
|00000f40| 65 69 6e 67 20 61 20 66 | 72 61 6d 65 73 65 74 20 |eing a f|rameset |
|00000f50| 64 6f 63 75 6d 65 6e 74 | 20 62 75 74 20 74 68 65 |document| but the|
|00000f60| 20 22 66 72 61 6d 65 73 | 65 74 22 20 65 6c 65 6d | "frames|et" elem|
|00000f70| 65 6e 74 20 77 61 73 20 | 6e 6f 74 20 75 73 65 64 |ent was |not used|
|00000f80| 20 6f 72 20 77 61 73 20 | 69 6e 63 6f 72 72 65 63 | or was |incorrec|
|00000f90| 74 6c 79 20 75 73 65 64 | 2e 20 43 68 65 63 6b 20 |tly used|. Check |
|00000fa0| 74 6f 20 6d 61 6b 65 20 | 73 75 72 65 20 74 68 61 |to make |sure tha|
|00000fb0| 74 20 74 68 65 20 61 70 | 70 72 6f 70 72 69 61 74 |t the ap|propriat|
|00000fc0| 65 20 44 4f 43 54 59 50 | 45 20 64 65 63 6c 61 72 |e DOCTYP|E declar|
|00000fd0| 61 74 69 6f 6e 20 69 73 | 20 62 65 69 6e 67 20 75 |ation is| being u|
|00000fe0| 73 65 64 2e 27 29 3b 0d | 0a 20 7d 0d 0a 7d 0d 0a |sed.');.|. }..}..|
|00000ff0| 0d 0a 24 78 6d 6c 64 65 | 63 6d 73 67 3d 27 5b 32 |..$xmlde|cmsg='[2|
|00001000| 34 5d 20 41 6e 20 58 4d | 4c 20 64 65 63 6c 61 72 |4] An XM|L declar|
|00001010| 61 74 69 6f 6e 20 73 68 | 6f 75 6c 64 20 61 70 70 |ation sh|ould app|
|00001020| 65 61 72 20 61 73 20 74 | 68 65 20 66 69 72 73 74 |ear as t|he first|
|00001030| 20 6c 69 6e 65 20 28 6c | 69 6e 65 20 31 29 20 6f | line (l|ine 1) o|
|00001040| 66 20 65 76 65 72 79 20 | 58 4d 4c 20 62 61 73 65 |f every |XML base|
|00001050| 64 20 64 6f 63 75 6d 65 | 6e 74 2e 20 46 6f 72 20 |d docume|nt. For |
|00001060| 65 78 61 6d 70 6c 65 2c | 20 66 6f 72 20 58 48 54 |example,| for XHT|
|00001070| 4d 4c 20 61 6e 64 20 57 | 4d 4c 20 64 6f 63 75 6d |ML and W|ML docum|
|00001080| 65 6e 74 73 2c 20 73 6f | 6d 65 74 68 69 6e 67 20 |ents, so|mething |
|00001090| 73 69 6d 69 6c 61 72 20 | 74 6f 20 3c 3f 78 6d 6c |similar |to <?xml|
|000010a0| 20 76 65 72 73 69 6f 6e | 3d 22 31 2e 30 22 20 65 | version|="1.0" e|
|000010b0| 6e 63 6f 64 69 6e 67 3d | 22 55 54 46 2d 38 22 3f |ncoding=|"UTF-8"?|
|000010c0| 3e 20 6f 72 20 73 69 6d | 70 6c 79 20 3c 3f 78 6d |> or sim|ply <?xm|
|000010d0| 6c 20 76 65 72 73 69 6f | 6e 3d 22 31 2e 30 22 3f |l versio|n="1.0"?|
|000010e0| 3e 20 73 68 6f 75 6c 64 | 20 62 65 20 74 68 65 20 |> should| be the |
|000010f0| 66 69 72 73 74 20 6c 69 | 6e 65 2e 27 20 2b 20 24 |first li|ne.' + $|
|00001100| 75 73 69 6e 67 69 6e 74 | 65 64 69 74 6f 72 61 64 |usingint|editorad|
|00001110| 64 74 61 67 6d 73 67 3b | 0d 0a 0d 0a 69 66 20 28 |dtagmsg;|....if (|
|00001120| 20 69 73 44 65 66 69 6e | 65 64 28 22 77 6d 6c 74 | isDefin|ed("wmlt|
|00001130| 61 67 63 6f 75 6e 74 22 | 29 20 29 20 7b 0d 0a 20 |agcount"|) ) {.. |
|00001140| 69 66 20 28 20 69 73 46 | 6c 61 67 53 65 74 28 32 |if ( isF|lagSet(2|
|00001150| 34 29 20 29 20 7b 0d 0a | 20 20 69 66 20 28 20 24 |4) ) {..| if ( $|
|00001160| 64 6f 63 75 6d 65 6e 74 | 74 79 70 65 3d 3d 33 20 |document|type==3 |
|00001170| 29 20 7b 20 2f 2a 20 57 | 4d 4c 20 2a 2f 0d 0a 20 |) { /* W|ML */.. |
|00001180| 20 20 69 66 20 28 20 21 | 69 73 44 65 66 69 6e 65 | if ( !|isDefine|
|00001190| 64 28 22 78 6d 6c 64 65 | 63 6c 61 72 61 74 69 6f |d("xmlde|claratio|
|000011a0| 6e 63 6f 75 6e 74 22 29 | 20 29 20 7b 0d 0a 20 20 |ncount")| ) {.. |
|000011b0| 20 20 4d 65 73 73 61 67 | 65 28 31 2c 20 24 4d 53 | Messag|e(1, $MS|
|000011c0| 47 5f 43 4f 4d 4d 45 4e | 54 2c 20 24 78 6d 6c 64 |G_COMMEN|T, $xmld|
|000011d0| 65 63 6d 73 67 29 3b 0d | 0a 20 20 20 7d 0d 0a 20 |ecmsg);.|. }.. |
|000011e0| 20 7d 0d 0a 20 7d 0d 0a | 7d 0d 0a 0d 0a 69 66 20 | }.. }..|}....if |
|000011f0| 28 20 69 73 44 65 66 69 | 6e 65 64 28 22 68 74 6d |( isDefi|ned("htm|
|00001200| 6c 74 61 67 63 6f 75 6e | 74 22 29 20 29 20 7b 0d |ltagcoun|t") ) {.|
|00001210| 0a 20 69 66 20 28 20 69 | 73 46 6c 61 67 53 65 74 |. if ( i|sFlagSet|
|00001220| 28 32 34 29 20 29 20 7b | 0d 0a 20 20 69 66 20 28 |(24) ) {|.. if (|
|00001230| 20 24 64 6f 63 75 6d 65 | 6e 74 74 79 70 65 3d 3d | $docume|nttype==|
|00001240| 34 20 29 20 7b 20 2f 2a | 20 58 48 54 4d 4c 20 2a |4 ) { /*| XHTML *|
|00001250| 2f 0d 0a 20 20 20 69 66 | 20 28 20 21 69 73 44 65 |/.. if| ( !isDe|
|00001260| 66 69 6e 65 64 28 22 78 | 6d 6c 64 65 63 6c 61 72 |fined("x|mldeclar|
|00001270| 61 74 69 6f 6e 63 6f 75 | 6e 74 22 29 20 29 20 7b |ationcou|nt") ) {|
|00001280| 0d 0a 20 20 20 20 4d 65 | 73 73 61 67 65 28 31 2c |.. Me|ssage(1,|
|00001290| 20 24 4d 53 47 5f 43 4f | 4d 4d 45 4e 54 2c 20 24 | $MSG_CO|MMENT, $|
|000012a0| 78 6d 6c 64 65 63 6d 73 | 67 29 3b 0d 0a 20 20 20 |xmldecms|g);.. |
|000012b0| 7d 0d 0a 20 20 7d 0d 0a | 20 7d 0d 0a 0d 0a 20 69 |}.. }..| }.... i|
|000012c0| 66 20 28 20 28 21 69 73 | 44 65 66 69 6e 65 64 28 |f ( (!is|Defined(|
|000012d0| 22 66 72 61 6d 65 73 65 | 74 74 61 67 63 6f 75 6e |"framese|ttagcoun|
|000012e0| 74 22 29 29 20 26 26 20 | 28 21 69 73 44 65 66 69 |t")) && |(!isDefi|
|000012f0| 6e 65 64 28 22 62 6f 64 | 79 74 61 67 63 6f 75 6e |ned("bod|ytagcoun|
|00001300| 74 22 29 29 20 29 20 7b | 0d 0a 20 20 69 66 20 28 |t")) ) {|.. if (|
|00001310| 63 68 65 63 6b 56 65 72 | 73 69 6f 6e 28 34 2e 35 |checkVer|sion(4.5|
|00001320| 30 32 31 29 29 20 7b 0d | 0a 20 20 20 4d 65 73 73 |021)) {.|. Mess|
|00001330| 61 67 65 28 21 67 65 74 | 56 61 6c 75 65 49 6e 74 |age(!get|ValueInt|
|00001340| 28 31 39 29 2c 20 24 4d | 53 47 5f 57 41 52 4e 49 |(19), $M|SG_WARNI|
|00001350| 4e 47 2c 20 27 41 6e 20 | 22 68 74 6d 6c 22 20 73 |NG, 'An |"html" s|
|00001360| 65 63 74 69 6f 6e 20 77 | 61 73 20 66 6f 75 6e 64 |ection w|as found|
|00001370| 20 62 75 74 20 69 74 20 | 64 69 64 20 6e 6f 74 20 | but it |did not |
|00001380| 63 6f 6e 74 61 69 6e 20 | 61 20 22 66 72 61 6d 65 |contain |a "frame|
|00001390| 73 65 74 22 20 6f 72 20 | 22 62 6f 64 79 22 20 73 |set" or |"body" s|
|000013a0| 65 63 74 69 6f 6e 2e 20 | 59 6f 75 20 73 68 6f 75 |ection. |You shou|
|000013b0| 6c 64 20 69 6e 63 6c 75 | 64 65 20 6f 6e 65 20 6f |ld inclu|de one o|
|000013c0| 66 20 74 68 65 73 65 20 | 73 65 63 74 69 6f 6e 73 |f these |sections|
|000013d0| 2e 27 29 3b 0d 0a 20 20 | 7d 0d 0a 20 20 65 6c 73 |.');.. |}.. els|
|000013e0| 65 20 7b 0d 0a 20 20 20 | 4d 65 73 73 61 67 65 28 |e {.. |Message(|
|000013f0| 31 2c 20 24 4d 53 47 5f | 43 4f 4d 4d 45 4e 54 2c |1, $MSG_|COMMENT,|
|00001400| 20 27 41 6e 20 22 68 74 | 6d 6c 22 20 73 65 63 74 | 'An "ht|ml" sect|
|00001410| 69 6f 6e 20 77 61 73 20 | 66 6f 75 6e 64 20 62 75 |ion was |found bu|
|00001420| 74 20 69 74 20 64 69 64 | 20 6e 6f 74 20 63 6f 6e |t it did| not con|
|00001430| 74 61 69 6e 20 61 20 22 | 66 72 61 6d 65 73 65 74 |tain a "|frameset|
|00001440| 22 20 6f 72 20 22 62 6f | 64 79 22 20 73 65 63 74 |" or "bo|dy" sect|
|00001450| 69 6f 6e 2e 20 59 6f 75 | 20 73 68 6f 75 6c 64 20 |ion. You| should |
|00001460| 69 6e 63 6c 75 64 65 20 | 6f 6e 65 20 6f 66 20 74 |include |one of t|
|00001470| 68 65 73 65 20 73 65 63 | 74 69 6f 6e 73 2e 27 29 |hese sec|tions.')|
|00001480| 3b 0d 0a 20 20 7d 0d 0a | 20 7d 0d 0a 0d 0a 20 69 |;.. }..| }.... i|
|00001490| 66 20 28 20 69 73 46 6c | 61 67 53 65 74 28 32 34 |f ( isFl|agSet(24|
|000014a0| 29 20 26 26 20 28 24 68 | 74 6d 6c 74 79 70 65 64 |) && ($h|tmltyped|
|000014b0| 6f 63 3d 3d 31 29 20 29 | 20 7b 0d 0a 20 20 69 66 |oc==1) )| {.. if|
|000014c0| 20 28 20 21 69 73 44 65 | 66 69 6e 65 64 28 22 64 | ( !isDe|fined("d|
|000014d0| 6f 63 74 79 70 65 63 6f | 75 6e 74 22 29 20 29 20 |octypeco|unt") ) |
|000014e0| 7b 0d 0a 20 20 20 69 66 | 20 28 20 24 64 6f 63 75 |{.. if| ( $docu|
|000014f0| 6d 65 6e 74 74 79 70 65 | 3d 3d 34 20 29 20 7b 0d |menttype|==4 ) {.|
|00001500| 0a 20 20 20 20 24 74 65 | 6d 70 3d 27 5b 32 34 5d |. $te|mp='[24]|
|00001510| 20 41 20 64 6f 63 75 6d | 65 6e 74 20 74 79 70 65 | A docum|ent type|
|00001520| 20 64 65 63 6c 61 72 61 | 74 69 6f 6e 20 73 68 6f | declara|tion sho|
|00001530| 75 6c 64 20 6e 6f 72 6d | 61 6c 6c 79 20 61 70 70 |uld norm|ally app|
|00001540| 65 61 72 20 61 73 20 74 | 68 65 20 73 65 63 6f 6e |ear as t|he secon|
|00001550| 64 20 6c 69 6e 65 20 66 | 6f 72 20 58 48 54 4d 4c |d line f|or XHTML|
|00001560| 20 64 6f 63 75 6d 65 6e | 74 73 20 28 74 68 65 20 | documen|ts (the |
|00001570| 66 69 72 73 74 20 6c 69 | 6e 65 20 73 68 6f 75 6c |first li|ne shoul|
|00001580| 64 20 62 65 20 61 6e 20 | 58 4d 4c 20 64 65 63 6c |d be an |XML decl|
|00001590| 61 72 61 74 69 6f 6e 29 | 2e 20 46 6f 72 20 65 78 |aration)|. For ex|
|000015a0| 61 6d 70 6c 65 2c 20 66 | 6f 72 20 58 48 54 4d 4c |ample, f|or XHTML|
|000015b0| 20 31 2e 30 20 53 74 72 | 69 63 74 20 64 6f 63 75 | 1.0 Str|ict docu|
|000015c0| 6d 65 6e 74 73 2c 20 3c | 21 44 4f 43 54 59 50 45 |ments, <|!DOCTYPE|
|000015d0| 20 68 74 6d 6c 20 50 55 | 42 4c 49 43 20 22 2d 2f | html PU|BLIC "-/|
|000015e0| 2f 57 33 43 2f 2f 44 54 | 44 20 58 48 54 4d 4c 20 |/W3C//DT|D XHTML |
|000015f0| 31 2e 30 20 53 74 72 69 | 63 74 2f 2f 45 4e 22 20 |1.0 Stri|ct//EN" |
|00001600| 22 44 54 44 2f 78 68 74 | 6d 6c 31 2d 73 74 72 69 |"DTD/xht|ml1-stri|
|00001610| 63 74 2e 64 74 64 22 3e | 20 73 68 6f 75 6c 64 20 |ct.dtd">| should |
|00001620| 62 65 20 74 68 65 20 73 | 65 63 6f 6e 64 20 6c 69 |be the s|econd li|
|00001630| 6e 65 20 28 6f 72 20 74 | 68 65 20 66 69 72 73 74 |ne (or t|he first|
|00001640| 20 6c 69 6e 65 20 69 66 | 20 74 68 65 72 65 20 69 | line if| there i|
|00001650| 73 20 6e 6f 20 58 4d 4c | 20 64 65 63 6c 61 72 61 |s no XML| declara|
|00001660| 74 69 6f 6e 29 2e 20 46 | 6f 72 20 58 48 54 4d 4c |tion). F|or XHTML|
|00001670| 20 31 2e 30 20 54 72 61 | 6e 73 69 74 69 6f 6e 61 | 1.0 Tra|nsitiona|
|00001680| 6c 20 64 6f 63 75 6d 65 | 6e 74 73 2c 20 74 68 65 |l docume|nts, the|
|00001690| 20 6c 69 6e 65 20 73 68 | 6f 75 6c 64 20 62 65 20 | line sh|ould be |
|000016a0| 3c 21 44 4f 43 54 59 50 | 45 20 68 74 6d 6c 20 50 |<!DOCTYP|E html P|
|000016b0| 55 42 4c 49 43 20 22 2d | 2f 2f 57 33 43 2f 2f 44 |UBLIC "-|//W3C//D|
|000016c0| 54 44 20 58 48 54 4d 4c | 20 31 2e 30 20 54 72 61 |TD XHTML| 1.0 Tra|
|000016d0| 6e 73 69 74 69 6f 6e 61 | 6c 2f 2f 45 4e 22 20 22 |nsitiona|l//EN" "|
|000016e0| 44 54 44 2f 78 68 74 6d | 6c 31 2d 74 72 61 6e 73 |DTD/xhtm|l1-trans|
|000016f0| 69 74 69 6f 6e 61 6c 2e | 64 74 64 22 3e 2e 20 46 |itional.|dtd">. F|
|00001700| 6f 72 20 58 48 54 4d 4c | 20 31 2e 30 20 46 72 61 |or XHTML| 1.0 Fra|
|00001710| 6d 65 73 65 74 20 64 6f | 63 75 6d 65 6e 74 73 2c |meset do|cuments,|
|00001720| 20 74 68 65 20 6c 69 6e | 65 20 73 68 6f 75 6c 64 | the lin|e should|
|00001730| 20 62 65 20 3c 21 44 4f | 43 54 59 50 45 20 68 74 | be <!DO|CTYPE ht|
|00001740| 6d 6c 20 50 55 42 4c 49 | 43 20 22 2d 2f 2f 57 33 |ml PUBLI|C "-//W3|
|00001750| 43 2f 2f 44 54 44 20 58 | 48 54 4d 4c 20 31 2e 30 |C//DTD X|HTML 1.0|
|00001760| 20 46 72 61 6d 65 73 65 | 74 2f 2f 45 4e 22 20 22 | Framese|t//EN" "|
|00001770| 44 54 44 2f 78 68 74 6d | 6c 31 2d 66 72 61 6d 65 |DTD/xhtm|l1-frame|
|00001780| 73 65 74 2e 64 74 64 22 | 3e 2e 20 41 6c 74 68 6f |set.dtd"|>. Altho|
|00001790| 75 67 68 20 74 68 65 20 | 58 48 54 4d 4c 20 72 65 |ugh the |XHTML re|
|000017a0| 63 6f 6d 6d 65 6e 64 61 | 74 69 6f 6e 20 72 65 71 |commenda|tion req|
|000017b0| 75 69 72 65 73 20 74 68 | 69 73 20 6c 69 6e 65 2c |uires th|is line,|
|000017c0| 20 6d 6f 73 74 20 62 72 | 6f 77 73 65 72 73 20 70 | most br|owsers p|
|000017d0| 72 6f 62 61 62 6c 79 20 | 69 67 6e 6f 72 65 20 69 |robably |ignore i|
|000017e0| 74 2e 27 20 2b 20 24 75 | 73 69 6e 67 69 6e 74 65 |t.' + $u|singinte|
|000017f0| 64 69 74 6f 72 61 64 64 | 74 61 67 6d 73 67 3b 0d |ditoradd|tagmsg;.|
|00001800| 0a 20 20 20 7d 0d 0a 20 | 20 20 65 6c 73 65 20 7b |. }.. | else {|
|00001810| 0d 0a 20 20 20 20 24 74 | 65 6d 70 3d 27 5b 32 34 |.. $t|emp='[24|
|00001820| 5d 20 41 20 64 6f 63 75 | 6d 65 6e 74 20 74 79 70 |] A docu|ment typ|
|00001830| 65 20 64 65 63 6c 61 72 | 61 74 69 6f 6e 20 73 68 |e declar|ation sh|
|00001840| 6f 75 6c 64 20 61 70 70 | 65 61 72 20 61 73 20 74 |ould app|ear as t|
|00001850| 68 65 20 66 69 72 73 74 | 20 6c 69 6e 65 20 28 6c |he first| line (l|
|00001860| 69 6e 65 20 31 29 20 6f | 66 20 65 76 65 72 79 20 |ine 1) o|f every |
|00001870| 48 54 4d 4c 20 64 6f 63 | 75 6d 65 6e 74 2e 20 46 |HTML doc|ument. F|
|00001880| 6f 72 20 65 78 61 6d 70 | 6c 65 2c 20 66 6f 72 20 |or examp|le, for |
|00001890| 48 54 4d 4c 20 34 2e 30 | 31 20 53 74 72 69 63 74 |HTML 4.0|1 Strict|
|000018a0| 20 64 6f 63 75 6d 65 6e | 74 73 2c 20 3c 21 44 4f | documen|ts, <!DO|
|000018b0| 43 54 59 50 45 20 48 54 | 4d 4c 20 50 55 42 4c 49 |CTYPE HT|ML PUBLI|
|000018c0| 43 20 22 2d 2f 2f 57 33 | 43 2f 2f 44 54 44 20 48 |C "-//W3|C//DTD H|
|000018d0| 54 4d 4c 20 34 2e 30 31 | 2f 2f 45 4e 22 20 22 68 |TML 4.01|//EN" "h|
|000018e0| 74 74 70 3a 2f 2f 77 77 | 77 2e 77 33 2e 6f 72 67 |ttp://ww|w.w3.org|
|000018f0| 2f 54 52 2f 68 74 6d 6c | 34 2f 73 74 72 69 63 74 |/TR/html|4/strict|
|00001900| 2e 64 74 64 22 3e 20 73 | 68 6f 75 6c 64 20 62 65 |.dtd"> s|hould be|
|00001910| 20 74 68 65 20 66 69 72 | 73 74 20 6c 69 6e 65 2e | the fir|st line.|
|00001920| 20 46 6f 72 20 48 54 4d | 4c 20 34 2e 30 31 20 54 | For HTM|L 4.01 T|
|00001930| 72 61 6e 73 69 74 69 6f | 6e 61 6c 20 64 6f 63 75 |ransitio|nal docu|
|00001940| 6d 65 6e 74 73 2c 20 74 | 68 65 20 66 69 72 73 74 |ments, t|he first|
|00001950| 20 6c 69 6e 65 20 73 68 | 6f 75 6c 64 20 62 65 20 | line sh|ould be |
|00001960| 3c 21 44 4f 43 54 59 50 | 45 20 48 54 4d 4c 20 50 |<!DOCTYP|E HTML P|
|00001970| 55 42 4c 49 43 20 22 2d | 2f 2f 57 33 43 2f 2f 44 |UBLIC "-|//W3C//D|
|00001980| 54 44 20 48 54 4d 4c 20 | 34 2e 30 31 20 54 72 61 |TD HTML |4.01 Tra|
|00001990| 6e 73 69 74 69 6f 6e 61 | 6c 2f 2f 45 4e 22 20 22 |nsitiona|l//EN" "|
|000019a0| 68 74 74 70 3a 2f 2f 77 | 77 77 2e 77 33 2e 6f 72 |http://w|ww.w3.or|
|000019b0| 67 2f 54 52 2f 68 74 6d | 6c 34 2f 6c 6f 6f 73 65 |g/TR/htm|l4/loose|
|000019c0| 2e 64 74 64 22 3e 2e 20 | 46 6f 72 20 48 54 4d 4c |.dtd">. |For HTML|
|000019d0| 20 34 2e 30 31 20 46 72 | 61 6d 65 73 65 74 20 64 | 4.01 Fr|ameset d|
|000019e0| 6f 63 75 6d 65 6e 74 73 | 2c 20 74 68 65 20 66 69 |ocuments|, the fi|
|000019f0| 72 73 74 20 6c 69 6e 65 | 20 73 68 6f 75 6c 64 20 |rst line| should |
|00001a00| 62 65 20 3c 21 44 4f 43 | 54 59 50 45 20 48 54 4d |be <!DOC|TYPE HTM|
|00001a10| 4c 20 50 55 42 4c 49 43 | 20 22 2d 2f 2f 57 33 43 |L PUBLIC| "-//W3C|
|00001a20| 2f 2f 44 54 44 20 48 54 | 4d 4c 20 34 2e 30 31 20 |//DTD HT|ML 4.01 |
|00001a30| 46 72 61 6d 65 73 65 74 | 2f 2f 45 4e 22 20 22 68 |Frameset|//EN" "h|
|00001a40| 74 74 70 3a 2f 2f 77 77 | 77 2e 77 33 2e 6f 72 67 |ttp://ww|w.w3.org|
|00001a50| 2f 54 52 2f 68 74 6d 6c | 34 2f 66 72 61 6d 65 73 |/TR/html|4/frames|
|00001a60| 65 74 2e 64 74 64 22 3e | 2e 20 41 6c 74 68 6f 75 |et.dtd">|. Althou|
|00001a70| 67 68 20 48 54 4d 4c 20 | 72 65 63 6f 6d 6d 65 6e |gh HTML |recommen|
|00001a80| 64 61 74 69 6f 6e 73 20 | 67 65 6e 65 72 61 6c 6c |dations |generall|
|00001a90| 79 20 72 65 71 75 69 72 | 65 20 74 68 69 73 20 6c |y requir|e this l|
|00001aa0| 69 6e 65 2c 20 6d 6f 73 | 74 20 62 72 6f 77 73 65 |ine, mos|t browse|
|00001ab0| 72 73 20 70 72 6f 62 61 | 62 6c 79 20 69 67 6e 6f |rs proba|bly igno|
|00001ac0| 72 65 20 69 74 2e 27 20 | 2b 20 24 75 73 69 6e 67 |re it.' |+ $using|
|00001ad0| 69 6e 74 65 64 69 74 6f | 72 61 64 64 74 61 67 6d |intedito|raddtagm|
|00001ae0| 73 67 3b 0d 0a 20 20 20 | 7d 0d 0a 20 20 20 4d 65 |sg;.. |}.. Me|
|00001af0| 73 73 61 67 65 28 31 2c | 20 24 4d 53 47 5f 57 41 |ssage(1,| $MSG_WA|
|00001b00| 52 4e 49 4e 47 2c 20 24 | 74 65 6d 70 29 3b 0d 0a |RNING, $|temp);..|
|00001b10| 20 20 7d 0d 0a 20 7d 0d | 0a 0d 0a 20 69 66 20 28 | }.. }.|... if (|
|00001b20| 20 28 24 68 74 6d 6c 74 | 79 70 65 64 6f 63 3d 3d | ($htmlt|ypedoc==|
|00001b30| 31 29 20 26 26 20 69 73 | 46 6c 61 67 53 65 74 28 |1) && is|FlagSet(|
|00001b40| 32 35 29 20 29 20 7b 0d | 0a 20 20 69 66 20 28 20 |25) ) {.|. if ( |
|00001b50| 24 62 79 74 65 73 3e 33 | 30 30 30 30 20 29 20 7b |$bytes>3|0000 ) {|
|00001b60| 0d 0a 20 20 20 4d 65 73 | 73 61 67 65 45 78 28 31 |.. Mes|sageEx(1|
|00001b70| 2c 20 24 4d 53 47 5f 43 | 4f 4d 4d 45 4e 54 2c 20 |, $MSG_C|OMMENT, |
|00001b80| 24 53 54 59 4c 45 2c 20 | 22 5b 32 35 5d 20 54 68 |$STYLE, |"[25] Th|
|00001b90| 69 73 20 64 6f 63 75 6d | 65 6e 74 20 69 73 20 61 |is docum|ent is a|
|00001ba0| 70 70 72 6f 78 69 6d 61 | 74 65 6c 79 20 22 20 2b |pproxima|tely " +|
|00001bb0| 20 74 6f 53 74 72 69 6e | 67 28 24 62 79 74 65 73 | toStrin|g($bytes|
|00001bc0| 29 20 2b 20 22 20 62 79 | 74 65 73 2e 20 53 6f 6d |) + " by|tes. Som|
|00001bd0| 65 20 70 65 6f 70 6c 65 | 20 6d 61 79 20 63 6f 6e |e people| may con|
|00001be0| 73 69 64 65 72 20 74 68 | 69 73 20 64 6f 63 75 6d |sider th|is docum|
|00001bf0| 65 6e 74 20 74 6f 20 62 | 65 20 74 6f 6f 20 6c 61 |ent to b|e too la|
|00001c00| 72 67 65 2e 20 49 74 20 | 69 73 20 67 65 6e 65 72 |rge. It |is gener|
|00001c10| 61 6c 6c 79 20 61 20 67 | 6f 6f 64 20 69 64 65 61 |ally a g|ood idea|
|00001c20| 20 74 6f 20 6c 69 6d 69 | 74 20 74 68 65 20 73 69 | to limi|t the si|
|00001c30| 7a 65 20 6f 66 20 48 54 | 4d 4c 20 64 6f 63 75 6d |ze of HT|ML docum|
|00001c40| 65 6e 74 73 20 73 6f 20 | 74 68 61 74 20 74 68 65 |ents so |that the|
|00001c50| 79 20 64 6f 20 6e 6f 74 | 20 63 6f 6e 74 61 69 6e |y do not| contain|
|00001c60| 20 74 6f 6f 20 6d 75 63 | 68 20 69 6e 66 6f 72 6d | too muc|h inform|
|00001c70| 61 74 69 6f 6e 20 61 6e | 64 20 61 6c 73 6f 20 73 |ation an|d also s|
|00001c80| 6f 20 74 68 61 74 20 74 | 68 65 79 20 6c 6f 61 64 |o that t|hey load|
|00001c90| 20 66 61 73 74 65 72 2e | 20 54 68 69 73 20 6d 65 | faster.| This me|
|00001ca0| 73 73 61 67 65 20 64 69 | 73 70 6c 61 79 73 20 66 |ssage di|splays f|
|00001cb0| 6f 72 20 64 6f 63 75 6d | 65 6e 74 73 20 6f 76 65 |or docum|ents ove|
|00001cc0| 72 20 33 30 2c 30 30 30 | 20 62 79 74 65 73 2e 22 |r 30,000| bytes."|
|00001cd0| 29 3b 0d 0a 20 20 7d 0d | 0a 20 7d 0d 0a 0d 0a 7d |);.. }.|. }....}|
|00001ce0| 0d 0a 0d 0a 69 66 20 28 | 20 69 73 46 6c 61 67 53 |....if (| isFlagS|
|00001cf0| 65 74 28 31 37 29 20 29 | 20 7b 0d 0a 20 69 66 20 |et(17) )| {.. if |
|00001d00| 28 20 24 6d 61 78 74 61 | 62 6c 65 6e 65 73 74 3e |( $maxta|blenest>|
|00001d10| 33 20 29 20 7b 0d 0a 20 | 20 4d 65 73 73 61 67 65 |3 ) {.. | Message|
|00001d20| 28 31 2c 20 24 4d 53 47 | 5f 43 4f 4d 4d 45 4e 54 |(1, $MSG|_COMMENT|
|00001d30| 2c 20 22 5b 31 37 5d 20 | 54 68 69 73 20 64 6f 63 |, "[17] |This doc|
|00001d40| 75 6d 65 6e 74 20 63 6f | 6e 74 61 69 6e 73 20 74 |ument co|ntains t|
|00001d50| 61 62 6c 65 73 20 6e 65 | 73 74 65 64 20 74 6f 20 |ables ne|sted to |
|00001d60| 22 20 2b 20 74 6f 53 74 | 72 69 6e 67 28 24 6d 61 |" + toSt|ring($ma|
|00001d70| 78 74 61 62 6c 65 6e 65 | 73 74 29 20 2b 20 22 20 |xtablene|st) + " |
|00001d80| 6c 65 76 65 6c 73 2e 20 | 54 6f 6f 20 6d 61 6e 79 |levels. |Too many|
|00001d90| 20 6e 65 73 74 65 64 20 | 74 61 62 6c 65 73 20 6d | nested |tables m|
|00001da0| 61 79 20 63 61 75 73 65 | 20 73 69 67 6e 69 66 69 |ay cause| signifi|
|00001db0| 63 61 6e 74 20 70 65 72 | 66 6f 72 6d 61 6e 63 65 |cant per|formance|
|00001dc0| 20 70 72 6f 62 6c 65 6d | 73 20 61 6e 64 20 6d 61 | problem|s and ma|
|00001dd0| 79 20 72 65 64 75 63 65 | 20 74 68 65 20 61 62 69 |y reduce| the abi|
|00001de0| 6c 69 74 79 20 6f 66 20 | 62 72 6f 77 73 65 72 73 |lity of |browsers|
|00001df0| 20 74 6f 20 72 65 6e 64 | 65 72 20 79 6f 75 72 20 | to rend|er your |
|00001e00| 64 6f 63 75 6d 65 6e 74 | 20 70 72 6f 70 65 72 6c |document| properl|
|00001e10| 79 2e 20 54 68 69 73 20 | 6d 65 73 73 61 67 65 20 |y. This |message |
|00001e20| 61 70 70 65 61 72 73 20 | 69 66 20 79 6f 75 20 68 |appears |if you h|
|00001e30| 61 76 65 20 6e 65 73 74 | 65 64 20 74 61 62 6c 65 |ave nest|ed table|
|00001e40| 73 20 6d 6f 72 65 20 74 | 68 61 6e 20 33 20 6c 65 |s more t|han 3 le|
|00001e50| 76 65 6c 73 20 64 65 65 | 70 2e 20 4e 6f 74 65 20 |vels dee|p. Note |
|00001e60| 74 68 61 74 20 4e 65 74 | 73 63 61 70 65 20 69 6e |that Net|scape in|
|00001e70| 20 70 61 72 74 69 63 75 | 6c 61 72 20 28 76 34 2e | particu|lar (v4.|
|00001e80| 78 20 61 6e 64 20 62 65 | 6c 6f 77 29 20 6d 61 79 |x and be|low) may|
|00001e90| 20 72 65 6e 64 65 72 20 | 6e 65 73 74 65 64 20 74 | render |nested t|
|00001ea0| 61 62 6c 65 73 20 6d 75 | 63 68 20 73 6c 6f 77 65 |ables mu|ch slowe|
|00001eb0| 72 20 74 68 61 6e 20 6f | 74 68 65 72 20 62 72 6f |r than o|ther bro|
|00001ec0| 77 73 65 72 73 20 73 75 | 63 68 20 61 73 20 49 6e |wsers su|ch as In|
|00001ed0| 74 65 72 6e 65 74 20 45 | 78 70 6c 6f 72 65 72 2e |ternet E|xplorer.|
|00001ee0| 22 29 3b 0d 0a 20 7d 0d | 0a 7d 0d 0a 0d 0a 2f 2a |");.. }.|.}..../*|
|00001ef0| 20 69 66 20 6e 6f 74 20 | 61 20 57 4d 4c 20 64 6f | if not |a WML do|
|00001f00| 63 75 6d 65 6e 74 20 2a | 2f 0d 0a 69 66 20 28 20 |cument *|/..if ( |
|00001f10| 28 24 68 74 6d 6c 74 79 | 70 65 64 6f 63 3d 3d 31 |($htmlty|pedoc==1|
|00001f20| 29 20 26 26 20 69 73 46 | 6c 61 67 53 65 74 28 38 |) && isF|lagSet(8|
|00001f30| 29 20 29 20 7b 0d 0a 20 | 69 66 20 28 20 28 21 69 |) ) {.. |if ( (!i|
|00001f40| 73 44 65 66 69 6e 65 64 | 28 22 6d 65 74 61 64 65 |sDefined|("metade|
|00001f50| 73 63 72 69 70 74 69 6f | 6e 75 73 65 64 22 29 29 |scriptio|nused"))|
|00001f60| 20 26 26 20 28 69 73 44 | 65 66 69 6e 65 64 28 22 | && (isD|efined("|
|00001f70| 68 65 61 64 74 61 67 63 | 6f 75 6e 74 22 29 29 20 |headtagc|ount")) |
|00001f80| 29 20 7b 0d 0a 20 20 69 | 66 20 28 20 24 64 6f 63 |) {.. i|f ( $doc|
|00001f90| 75 6d 65 6e 74 74 79 70 | 65 3d 3d 34 20 29 20 7b |umenttyp|e==4 ) {|
|00001fa0| 0d 0a 20 20 20 24 74 65 | 6d 70 3d 27 3c 6d 65 74 |.. $te|mp='<met|
|00001fb0| 61 20 6e 61 6d 65 3d 22 | 64 65 73 63 72 69 70 74 |a name="|descript|
|00001fc0| 69 6f 6e 22 20 63 6f 6e | 74 65 6e 74 3d 22 28 61 |ion" con|tent="(a|
|00001fd0| 63 74 75 61 6c 20 64 65 | 73 63 72 69 70 74 69 6f |ctual de|scriptio|
|00001fe0| 6e 29 22 2f 3e 27 3b 0d | 0a 20 20 7d 0d 0a 20 20 |n)"/>';.|. }.. |
|00001ff0| 65 6c 73 65 20 7b 0d 0a | 20 20 20 24 74 65 6d 70 |else {..| $temp|
|00002000| 3d 27 3c 6d 65 74 61 20 | 6e 61 6d 65 3d 22 64 65 |='<meta |name="de|
|00002010| 73 63 72 69 70 74 69 6f | 6e 22 20 63 6f 6e 74 65 |scriptio|n" conte|
|00002020| 6e 74 3d 22 28 61 63 74 | 75 61 6c 20 64 65 73 63 |nt="(act|ual desc|
|00002030| 72 69 70 74 69 6f 6e 29 | 22 3e 27 3b 0d 0a 20 20 |ription)|">';.. |
|00002040| 7d 0d 0a 20 20 4d 65 73 | 73 61 67 65 45 78 28 31 |}.. Mes|sageEx(1|
|00002050| 2c 20 24 4d 53 47 5f 43 | 4f 4d 4d 45 4e 54 2c 20 |, $MSG_C|OMMENT, |
|00002060| 24 53 45 41 52 43 48 45 | 4e 47 49 4e 45 2c 20 27 |$SEARCHE|NGINE, '|
|00002070| 5b 38 5d 20 27 20 2b 20 | 24 74 65 6d 70 20 2b 20 |[8] ' + |$temp + |
|00002080| 27 20 73 68 6f 75 6c 64 | 20 62 65 20 75 73 65 64 |' should| be used|
|00002090| 20 69 6e 20 74 68 65 20 | 22 68 65 61 64 22 20 73 | in the |"head" s|
|000020a0| 65 63 74 69 6f 6e 20 74 | 6f 20 70 72 6f 76 69 64 |ection t|o provid|
|000020b0| 65 20 61 20 62 72 69 65 | 66 20 64 65 73 63 72 69 |e a brie|f descri|
|000020c0| 70 74 69 6f 6e 20 6f 66 | 20 77 68 61 74 20 69 73 |ption of| what is|
|000020d0| 20 63 6f 6e 74 61 69 6e | 65 64 20 6f 6e 20 74 68 | contain|ed on th|
|000020e0| 69 73 20 70 61 67 65 2e | 20 54 68 69 73 20 69 6e |is page.| This in|
|000020f0| 66 6f 72 6d 61 74 69 6f | 6e 20 69 73 20 75 73 65 |formatio|n is use|
|00002100| 64 20 62 79 20 6d 61 6e | 79 20 73 65 61 72 63 68 |d by man|y search|
|00002110| 20 65 6e 67 69 6e 65 73 | 20 77 68 65 6e 20 69 6e | engines| when in|
|00002120| 64 65 78 69 6e 67 20 61 | 20 73 69 74 65 2e 27 20 |dexing a| site.' |
|00002130| 2b 20 24 75 73 69 6e 67 | 69 6e 74 65 64 69 74 6f |+ $using|intedito|
|00002140| 72 61 64 64 74 61 67 6d | 73 67 29 3b 0d 0a 20 7d |raddtagm|sg);.. }|
|00002150| 0d 0a 20 69 66 20 28 20 | 28 21 69 73 44 65 66 69 |.. if ( |(!isDefi|
|00002160| 6e 65 64 28 22 6d 65 74 | 61 6b 65 79 77 6f 72 64 |ned("met|akeyword|
|00002170| 73 75 73 65 64 22 29 29 | 20 26 26 20 28 69 73 44 |sused"))| && (isD|
|00002180| 65 66 69 6e 65 64 28 22 | 68 65 61 64 74 61 67 63 |efined("|headtagc|
|00002190| 6f 75 6e 74 22 29 29 20 | 29 20 7b 0d 0a 20 20 69 |ount")) |) {.. i|
|000021a0| 66 20 28 20 24 64 6f 63 | 75 6d 65 6e 74 74 79 70 |f ( $doc|umenttyp|
|000021b0| 65 3d 3d 34 20 29 20 7b | 0d 0a 20 20 20 24 74 65 |e==4 ) {|.. $te|
|000021c0| 6d 70 3d 27 3c 6d 65 74 | 61 20 6e 61 6d 65 3d 22 |mp='<met|a name="|
|000021d0| 6b 65 79 77 6f 72 64 73 | 22 20 63 6f 6e 74 65 6e |keywords|" conten|
|000021e0| 74 3d 22 28 61 63 74 75 | 61 6c 20 6b 65 79 77 6f |t="(actu|al keywo|
|000021f0| 72 64 20 6c 69 73 74 29 | 22 2f 3e 27 3b 0d 0a 20 |rd list)|"/>';.. |
|00002200| 20 7d 0d 0a 20 20 65 6c | 73 65 20 7b 0d 0a 20 20 | }.. el|se {.. |
|00002210| 20 24 74 65 6d 70 3d 27 | 3c 6d 65 74 61 20 6e 61 | $temp='|<meta na|
|00002220| 6d 65 3d 22 6b 65 79 77 | 6f 72 64 73 22 20 63 6f |me="keyw|ords" co|
|00002230| 6e 74 65 6e 74 3d 22 28 | 61 63 74 75 61 6c 20 6b |ntent="(|actual k|
|00002240| 65 79 77 6f 72 64 20 6c | 69 73 74 29 22 3e 27 3b |eyword l|ist)">';|
|00002250| 0d 0a 20 20 7d 0d 0a 20 | 20 4d 65 73 73 61 67 65 |.. }.. | Message|
|00002260| 45 78 28 31 2c 20 24 4d | 53 47 5f 43 4f 4d 4d 45 |Ex(1, $M|SG_COMME|
|00002270| 4e 54 2c 20 24 53 45 41 | 52 43 48 45 4e 47 49 4e |NT, $SEA|RCHENGIN|
|00002280| 45 2c 20 27 5b 38 5d 20 | 27 20 2b 20 24 74 65 6d |E, '[8] |' + $tem|
|00002290| 70 20 2b 20 27 20 73 68 | 6f 75 6c 64 20 62 65 20 |p + ' sh|ould be |
|000022a0| 75 73 65 64 20 69 6e 20 | 74 68 65 20 22 68 65 61 |used in |the "hea|
|000022b0| 64 22 20 73 65 63 74 69 | 6f 6e 20 74 6f 20 70 72 |d" secti|on to pr|
|000022c0| 6f 76 69 64 65 20 61 20 | 6c 69 73 74 20 6f 66 20 |ovide a |list of |
|000022d0| 6b 65 79 77 6f 72 64 73 | 20 74 68 61 74 20 61 72 |keywords| that ar|
|000022e0| 65 20 72 65 6c 65 76 65 | 6e 74 20 74 6f 20 74 68 |e releve|nt to th|
|000022f0| 69 73 20 70 61 67 65 2e | 20 54 68 69 73 20 69 6e |is page.| This in|
|00002300| 66 6f 72 6d 61 74 69 6f | 6e 20 69 73 20 75 73 65 |formatio|n is use|
|00002310| 64 20 62 79 20 6d 61 6e | 79 20 73 65 61 72 63 68 |d by man|y search|
|00002320| 20 65 6e 67 69 6e 65 73 | 20 77 68 65 6e 20 69 6e | engines| when in|
|00002330| 64 65 78 69 6e 67 20 61 | 20 73 69 74 65 2e 27 20 |dexing a| site.' |
|00002340| 2b 20 24 75 73 69 6e 67 | 69 6e 74 65 64 69 74 6f |+ $using|intedito|
|00002350| 72 61 64 64 74 61 67 6d | 73 67 29 3b 0d 0a 20 7d |raddtagm|sg);.. }|
|00002360| 0d 0a 7d 0d 0a 0d 0a 69 | 66 20 28 20 69 73 44 65 |..}....i|f ( isDe|
|00002370| 66 69 6e 65 64 28 22 6e | 61 74 75 72 61 6c 73 69 |fined("n|aturalsi|
|00002380| 7a 65 66 6c 61 67 75 73 | 65 64 22 29 20 29 20 7b |zeflagus|ed") ) {|
|00002390| 0d 0a 20 69 66 20 28 20 | 69 73 46 6c 61 67 53 65 |.. if ( |isFlagSe|
|000023a0| 74 28 31 39 29 20 29 20 | 7b 0d 0a 20 20 4d 65 73 |t(19) ) |{.. Mes|
|000023b0| 73 61 67 65 28 31 2c 20 | 24 4d 53 47 5f 43 4f 4d |sage(1, |$MSG_COM|
|000023c0| 4d 45 4e 54 2c 20 27 5b | 31 39 5d 20 54 68 65 20 |MENT, '[|19] The |
|000023d0| 22 6e 61 74 75 72 61 6c | 73 69 7a 65 66 6c 61 67 |"natural|sizeflag|
|000023e0| 22 20 61 74 74 72 69 62 | 75 74 65 20 77 61 73 20 |" attrib|ute was |
|000023f0| 75 73 65 64 20 27 2b 74 | 6f 53 74 72 69 6e 67 28 |used '+t|oString(|
|00002400| 24 6e 61 74 75 72 61 6c | 73 69 7a 65 66 6c 61 67 |$natural|sizeflag|
|00002410| 75 73 65 64 29 2b 27 20 | 74 69 6d 65 28 73 29 2e |used)+' |time(s).|
|00002420| 20 54 68 69 73 20 61 74 | 74 72 69 62 75 74 65 20 | This at|tribute |
|00002430| 69 73 20 75 73 75 61 6c | 6c 79 20 61 64 64 65 64 |is usual|ly added|
|00002440| 20 74 6f 20 74 68 65 20 | 22 69 6d 67 22 20 65 6c | to the |"img" el|
|00002450| 65 6d 65 6e 74 20 62 79 | 20 41 64 6f 62 65 20 50 |ement by| Adobe P|
|00002460| 61 67 65 4d 69 6c 6c 20 | 61 6e 64 20 69 73 20 6e |ageMill |and is n|
|00002470| 6f 74 20 61 20 76 61 6c | 69 64 20 61 74 74 72 69 |ot a val|id attri|
|00002480| 62 75 74 65 2e 20 48 6f | 77 65 76 65 72 2c 20 69 |bute. Ho|wever, i|
|00002490| 74 20 77 61 73 20 69 67 | 6e 6f 72 65 64 20 62 79 |t was ig|nored by|
|000024a0| 20 48 54 4d 4c 20 56 61 | 6c 69 64 61 74 6f 72 20 | HTML Va|lidator |
|000024b0| 62 65 63 61 75 73 65 20 | 69 74 20 69 73 20 75 6e |because |it is un|
|000024c0| 6c 69 6b 65 6c 79 20 74 | 6f 20 63 61 75 73 65 20 |likely t|o cause |
|000024d0| 70 72 6f 62 6c 65 6d 73 | 20 77 69 74 68 20 62 72 |problems| with br|
|000024e0| 6f 77 73 65 72 73 2e 27 | 29 3b 0d 0a 20 7d 0d 0a |owsers.'|);.. }..|
|000024f0| 7d 0d 0a 0d 0a 69 66 20 | 28 20 69 73 44 65 66 69 |}....if |( isDefi|
|00002500| 6e 65 64 28 22 6d 73 69 | 6d 61 67 65 6c 69 73 74 |ned("msi|magelist|
|00002510| 75 73 65 64 22 29 20 29 | 20 7b 0d 0a 20 69 66 20 |used") )| {.. if |
|00002520| 28 20 69 73 46 6c 61 67 | 53 65 74 28 31 39 29 20 |( isFlag|Set(19) |
|00002530| 29 20 7b 0d 0a 20 20 4d | 65 73 73 61 67 65 28 31 |) {.. M|essage(1|
|00002540| 2c 20 24 4d 53 47 5f 43 | 4f 4d 4d 45 4e 54 2c 20 |, $MSG_C|OMMENT, |
|00002550| 27 5b 31 39 5d 20 54 68 | 65 20 22 6d 73 69 6d 61 |'[19] Th|e "msima|
|00002560| 67 65 6c 69 73 74 22 20 | 61 74 74 72 69 62 75 74 |gelist" |attribut|
|00002570| 65 20 77 61 73 20 75 73 | 65 64 20 27 2b 74 6f 53 |e was us|ed '+toS|
|00002580| 74 72 69 6e 67 28 24 6d | 73 69 6d 61 67 65 6c 69 |tring($m|simageli|
|00002590| 73 74 75 73 65 64 29 2b | 27 20 74 69 6d 65 28 73 |stused)+|' time(s|
|000025a0| 29 2e 20 54 68 69 73 20 | 61 74 74 72 69 62 75 74 |). This |attribut|
|000025b0| 65 20 69 73 20 75 73 75 | 61 6c 6c 79 20 61 64 64 |e is usu|ally add|
|000025c0| 65 64 20 62 79 20 4d 69 | 63 72 6f 73 6f 66 74 20 |ed by Mi|crosoft |
|000025d0| 46 72 6f 6e 74 50 61 67 | 65 20 61 6e 64 20 69 73 |FrontPag|e and is|
|000025e0| 20 6e 6f 74 20 61 20 76 | 61 6c 69 64 20 61 74 74 | not a v|alid att|
|000025f0| 72 69 62 75 74 65 2e 20 | 48 6f 77 65 76 65 72 2c |ribute. |However,|
|00002600| 20 69 74 20 77 61 73 20 | 69 67 6e 6f 72 65 64 20 | it was |ignored |
|00002610| 62 79 20 48 54 4d 4c 20 | 56 61 6c 69 64 61 74 6f |by HTML |Validato|
|00002620| 72 20 62 65 63 61 75 73 | 65 20 69 74 20 69 73 20 |r becaus|e it is |
|00002630| 75 6e 6c 69 6b 65 6c 79 | 20 74 6f 20 63 61 75 73 |unlikely| to caus|
|00002640| 65 20 70 72 6f 62 6c 65 | 6d 73 20 77 69 74 68 20 |e proble|ms with |
|00002650| 62 72 6f 77 73 65 72 73 | 2e 27 29 3b 0d 0a 20 7d |browsers|.');.. }|
|00002660| 0d 0a 7d 0d 0a 0d 0a 69 | 66 20 28 20 69 73 44 65 |..}....i|f ( isDe|
|00002670| 66 69 6e 65 64 28 22 6e | 6f 66 61 74 74 75 73 65 |fined("n|ofattuse|
|00002680| 64 22 29 20 29 20 7b 0d | 0a 20 69 66 20 28 20 69 |d") ) {.|. if ( i|
|00002690| 73 46 6c 61 67 53 65 74 | 28 31 39 29 20 29 20 7b |sFlagSet|(19) ) {|
|000026a0| 0d 0a 20 20 4d 65 73 73 | 61 67 65 28 31 2c 20 24 |.. Mess|age(1, $|
|000026b0| 4d 53 47 5f 43 4f 4d 4d | 45 4e 54 2c 20 27 5b 31 |MSG_COMM|ENT, '[1|
|000026c0| 39 5d 20 54 68 65 20 22 | 27 20 2b 20 24 6e 6f 66 |9] The "|' + $nof|
|000026d0| 61 74 74 6e 61 6d 65 20 | 2b 20 27 22 20 61 74 74 |attname |+ '" att|
|000026e0| 72 69 62 75 74 65 20 77 | 61 73 20 75 73 65 64 20 |ribute w|as used |
|000026f0| 27 2b 74 6f 53 74 72 69 | 6e 67 28 24 6e 6f 66 61 |'+toStri|ng($nofa|
|00002700| 74 74 75 73 65 64 29 2b | 27 20 74 69 6d 65 28 73 |ttused)+|' time(s|
|00002710| 29 2e 20 54 68 69 73 20 | 61 74 74 72 69 62 75 74 |). This |attribut|
|00002720| 65 20 69 73 20 75 73 75 | 61 6c 6c 79 20 61 64 64 |e is usu|ally add|
|00002730| 65 64 20 62 79 20 4e 65 | 74 4f 62 6a 65 63 74 73 |ed by Ne|tObjects|
|00002740| 20 46 75 73 69 6f 6e 20 | 61 6e 64 20 69 73 20 6e | Fusion |and is n|
|00002750| 6f 74 20 61 20 76 61 6c | 69 64 20 61 74 74 72 69 |ot a val|id attri|
|00002760| 62 75 74 65 2e 20 48 6f | 77 65 76 65 72 2c 20 69 |bute. Ho|wever, i|
|00002770| 74 20 77 61 73 20 69 67 | 6e 6f 72 65 64 20 62 79 |t was ig|nored by|
|00002780| 20 48 54 4d 4c 20 56 61 | 6c 69 64 61 74 6f 72 20 | HTML Va|lidator |
|00002790| 62 65 63 61 75 73 65 20 | 69 74 20 69 73 20 75 6e |because |it is un|
|000027a0| 6c 69 6b 65 6c 79 20 74 | 6f 20 63 61 75 73 65 20 |likely t|o cause |
|000027b0| 70 72 6f 62 6c 65 6d 73 | 20 77 69 74 68 20 62 72 |problems| with br|
|000027c0| 6f 77 73 65 72 73 2e 27 | 29 3b 0d 0a 20 7d 0d 0a |owsers.'|);.. }..|
|000027d0| 7d 0d 0a 0d 0a 69 66 20 | 28 20 28 24 68 74 6d 6c |}....if |( ($html|
|000027e0| 74 79 70 65 64 6f 63 3d | 3d 31 29 20 26 26 20 69 |typedoc=|=1) && i|
|000027f0| 73 46 6c 61 67 53 65 74 | 28 31 35 29 20 29 20 7b |sFlagSet|(15) ) {|
|00002800| 0d 0a 20 69 66 20 28 20 | 28 69 73 44 65 66 69 6e |.. if ( |(isDefin|
|00002810| 65 64 28 22 68 65 61 64 | 74 61 67 63 6f 75 6e 74 |ed("head|tagcount|
|00002820| 22 29 29 20 26 26 20 28 | 24 70 69 63 73 6c 61 62 |")) && (|$picslab|
|00002830| 65 6c 75 73 65 64 3d 3d | 30 29 20 29 20 7b 0d 0a |elused==|0) ) {..|
|00002840| 20 20 4d 65 73 73 61 67 | 65 28 31 2c 20 24 4d 53 | Messag|e(1, $MS|
|00002850| 47 5f 43 4f 4d 4d 45 4e | 54 2c 20 27 5b 31 35 5d |G_COMMEN|T, '[15]|
|00002860| 20 41 6e 20 49 43 52 41 | 20 6c 61 62 65 6c 20 28 | An ICRA| label (|
|00002870| 61 20 72 61 74 69 6e 67 | 20 22 6d 65 74 61 22 20 |a rating| "meta" |
|00002880| 74 61 67 29 20 77 61 73 | 20 6e 6f 74 20 66 6f 75 |tag) was| not fou|
|00002890| 6e 64 20 69 6e 20 74 68 | 65 20 22 68 65 61 64 22 |nd in th|e "head"|
|000028a0| 20 73 65 63 74 69 6f 6e | 20 6f 66 20 74 68 69 73 | section| of this|
|000028b0| 20 64 6f 63 75 6d 65 6e | 74 2e 20 42 72 6f 77 73 | documen|t. Brows|
|000028c0| 65 72 73 20 74 68 61 74 | 20 61 72 65 20 65 6e 61 |ers that| are ena|
|000028d0| 62 6c 65 64 20 77 69 74 | 68 20 74 68 69 73 20 72 |bled wit|h this r|
|000028e0| 61 74 69 6e 67 20 73 79 | 73 74 65 6d 20 6d 61 79 |ating sy|stem may|
|000028f0| 20 6e 6f 74 20 64 69 73 | 70 6c 61 79 20 64 6f 63 | not dis|play doc|
|00002900| 75 6d 65 6e 74 73 20 74 | 68 61 74 20 68 61 76 65 |uments t|hat have|
|00002910| 20 6e 6f 74 20 62 65 65 | 6e 20 6c 61 62 65 6c 6c | not bee|n labell|
|00002920| 65 64 2e 20 49 66 20 79 | 6f 75 20 68 61 76 65 20 |ed. If y|ou have |
|00002930| 6c 61 62 65 6c 6c 65 64 | 20 74 68 69 73 20 64 6f |labelled| this do|
|00002940| 63 75 6d 65 6e 74 20 62 | 79 20 72 61 74 69 6e 67 |cument b|y rating|
|00002950| 20 74 68 65 20 73 65 63 | 74 69 6f 6e 20 28 64 69 | the sec|tion (di|
|00002960| 72 65 63 74 6f 72 79 29 | 20 69 6e 20 77 68 69 63 |rectory)| in whic|
|00002970| 68 20 69 74 20 69 73 20 | 66 6f 75 6e 64 2c 20 6f |h it is |found, o|
|00002980| 72 20 69 66 20 79 6f 75 | 72 20 73 69 74 65 20 69 |r if you|r site i|
|00002990| 73 20 61 20 70 65 72 73 | 6f 6e 61 6c 20 77 65 62 |s a pers|onal web|
|000029a0| 20 73 70 61 63 65 20 6f | 6e 20 61 20 6c 61 72 67 | space o|n a larg|
|000029b0| 65 20 49 6e 74 65 72 6e | 65 74 20 53 65 72 76 69 |e Intern|et Servi|
|000029c0| 63 65 20 50 72 6f 76 69 | 64 65 72 2c 20 69 74 20 |ce Provi|der, it |
|000029d0| 69 73 20 73 74 69 6c 6c | 20 72 65 63 6f 6d 6d 65 |is still| recomme|
|000029e0| 6e 64 65 64 20 74 68 61 | 74 20 79 6f 75 20 69 6e |nded tha|t you in|
|000029f0| 63 6c 75 64 65 20 74 68 | 65 20 72 61 74 69 6e 67 |clude th|e rating|
|00002a00| 20 22 6d 65 74 61 22 20 | 74 61 67 20 6f 6e 20 61 | "meta" |tag on a|
|00002a10| 6c 6c 20 6f 66 20 79 6f | 75 72 20 70 61 67 65 73 |ll of yo|ur pages|
|00002a20| 20 66 6f 72 20 70 65 72 | 66 6f 72 6d 61 6e 63 65 | for per|formance|
|00002a30| 20 72 65 61 73 6f 6e 73 | 2e 20 46 6f 72 20 6d 6f | reasons|. For mo|
|00002a40| 72 65 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 2c 20 |re infor|mation, |
|00002a50| 70 6c 65 61 73 65 20 76 | 69 73 69 74 20 68 74 74 |please v|isit htt|
|00002a60| 70 3a 2f 2f 77 77 77 2e | 69 63 72 61 2e 6f 72 67 |p://www.|icra.org|
|00002a70| 2f 2e 27 29 3b 0d 0a 20 | 7d 0d 0a 7d 0d 0a 0d 0a |/.');.. |}..}....|
|00002a80| 69 66 20 28 20 28 24 68 | 74 6d 6c 74 79 70 65 64 |if ( ($h|tmltyped|
|00002a90| 6f 63 3d 3d 31 29 20 26 | 26 20 69 73 46 6c 61 67 |oc==1) &|& isFlag|
|00002aa0| 53 65 74 28 32 36 29 20 | 29 20 7b 0d 0a 20 69 66 |Set(26) |) {.. if|
|00002ab0| 20 28 20 28 69 73 44 65 | 66 69 6e 65 64 28 22 68 | ( (isDe|fined("h|
|00002ac0| 65 61 64 74 61 67 63 6f | 75 6e 74 22 29 29 20 26 |eadtagco|unt")) &|
|00002ad0| 26 20 28 21 69 73 44 65 | 66 69 6e 65 64 28 22 6d |& (!isDe|fined("m|
|00002ae0| 65 74 61 68 74 74 70 65 | 71 75 69 76 63 6f 6e 74 |etahttpe|quivcont|
|00002af0| 65 6e 74 2d 74 79 70 65 | 75 73 65 64 22 29 29 20 |ent-type|used")) |
|00002b00| 29 20 7b 0d 0a 20 69 66 | 20 28 20 24 64 6f 63 75 |) {.. if| ( $docu|
|00002b10| 6d 65 6e 74 74 79 70 65 | 3d 3d 34 20 29 20 7b 0d |menttype|==4 ) {.|
|00002b20| 0a 20 20 24 74 65 6d 70 | 3d 27 3c 6d 65 74 61 20 |. $temp|='<meta |
|00002b30| 68 74 74 70 2d 65 71 75 | 69 76 3d 22 43 6f 6e 74 |http-equ|iv="Cont|
|00002b40| 65 6e 74 2d 54 79 70 65 | 22 20 63 6f 6e 74 65 6e |ent-Type|" conten|
|00002b50| 74 3d 22 74 65 78 74 2f | 68 74 6d 6c 3b 20 63 68 |t="text/|html; ch|
|00002b60| 61 72 73 65 74 3d 49 53 | 4f 2d 38 38 35 39 2d 31 |arset=IS|O-8859-1|
|00002b70| 22 20 2f 3e 27 3b 0d 0a | 20 20 24 74 65 6d 70 32 |" />';..| $temp2|
|00002b80| 3d 22 6d 65 74 61 22 3b | 0d 0a 20 7d 0d 0a 20 65 |="meta";|.. }.. e|
|00002b90| 6c 73 65 20 7b 0d 0a 20 | 20 24 74 65 6d 70 3d 27 |lse {.. | $temp='|
|00002ba0| 3c 6d 65 74 61 20 68 74 | 74 70 2d 65 71 75 69 76 |<meta ht|tp-equiv|
|00002bb0| 3d 22 43 6f 6e 74 65 6e | 74 2d 54 79 70 65 22 20 |="Conten|t-Type" |
|00002bc0| 63 6f 6e 74 65 6e 74 3d | 22 74 65 78 74 2f 68 74 |content=|"text/ht|
|00002bd0| 6d 6c 3b 20 63 68 61 72 | 73 65 74 3d 49 53 4f 2d |ml; char|set=ISO-|
|00002be0| 38 38 35 39 2d 31 22 3e | 27 3b 0d 0a 20 20 24 74 |8859-1">|';.. $t|
|00002bf0| 65 6d 70 32 3d 22 6d 65 | 74 61 22 3b 0d 0a 20 7d |emp2="me|ta";.. }|
|00002c00| 0d 0a 20 20 4d 65 73 73 | 61 67 65 28 31 2c 20 24 |.. Mess|age(1, $|
|00002c10| 4d 53 47 5f 43 4f 4d 4d | 45 4e 54 2c 20 27 5b 32 |MSG_COMM|ENT, '[2|
|00002c20| 36 5d 20 41 6c 74 68 6f | 75 67 68 20 6e 6f 74 20 |6] Altho|ugh not |
|00002c30| 6e 6f 72 6d 61 6c 6c 79 | 20 6e 65 63 65 73 73 61 |normally| necessa|
|00002c40| 72 79 2c 20 79 6f 75 20 | 6d 61 79 20 77 61 6e 74 |ry, you |may want|
|00002c50| 20 74 6f 20 69 6e 63 6c | 75 64 65 20 61 20 22 27 | to incl|ude a "'|
|00002c60| 20 2b 20 24 74 65 6d 70 | 32 20 2b 20 27 22 20 74 | + $temp|2 + '" t|
|00002c70| 61 67 20 73 69 6d 69 6c | 61 72 20 74 6f 20 74 68 |ag simil|ar to th|
|00002c80| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 69 6e 20 74 |e follow|ing in t|
|00002c90| 68 65 20 22 68 65 61 64 | 22 20 73 65 63 74 69 6f |he "head|" sectio|
|00002ca0| 6e 20 6f 66 20 79 6f 75 | 72 20 64 6f 63 75 6d 65 |n of you|r docume|
|00002cb0| 6e 74 3a 20 27 2b 24 74 | 65 6d 70 29 3b 0d 0a 20 |nt: '+$t|emp);.. |
|00002cc0| 7d 0d 0a 7d 0d 0a 0d 0a | 69 66 20 28 20 69 73 44 |}..}....|if ( isD|
|00002cd0| 65 66 69 6e 65 64 28 22 | 74 72 61 6e 73 70 61 72 |efined("|transpar|
|00002ce0| 65 6e 63 79 77 65 62 74 | 76 61 74 74 75 73 65 64 |encywebt|vattused|
|00002cf0| 22 29 20 29 20 7b 0d 0a | 20 69 66 20 28 20 69 73 |") ) {..| if ( is|
|00002d00| 46 6c 61 67 53 65 74 28 | 32 33 29 20 29 20 7b 0d |FlagSet(|23) ) {.|
|00002d10| 0a 20 20 4d 65 73 73 61 | 67 65 45 78 28 31 2c 20 |. Messa|geEx(1, |
|00002d20| 24 4d 53 47 5f 43 4f 4d | 4d 45 4e 54 2c 20 24 57 |$MSG_COM|MENT, $W|
|00002d30| 45 42 54 56 2c 20 27 5b | 32 33 5d 20 59 6f 75 27 |EBTV, '[|23] You'|
|00002d40| 20 2b 20 22 27 22 20 2b | 20 27 76 65 20 75 73 65 | + "'" +| 've use|
|00002d50| 64 20 74 68 65 20 57 65 | 62 54 56 20 22 74 72 61 |d the We|bTV "tra|
|00002d60| 6e 73 70 61 72 65 6e 63 | 79 22 20 61 74 74 72 69 |nsparenc|y" attri|
|00002d70| 62 75 74 65 20 61 74 20 | 6c 65 61 73 74 20 6f 6e |bute at |least on|
|00002d80| 63 65 2e 20 55 73 69 6e | 67 20 61 20 76 61 6c 75 |ce. Usin|g a valu|
|00002d90| 65 20 6f 66 20 35 30 20 | 66 6f 72 20 74 68 69 73 |e of 50 |for this|
|00002da0| 20 61 74 74 72 69 62 75 | 74 65 20 6d 61 79 20 63 | attribu|te may c|
|00002db0| 61 75 73 65 20 77 65 62 | 20 70 61 67 65 73 20 74 |ause web| pages t|
|00002dc0| 6f 20 72 65 6e 64 65 72 | 20 66 61 73 74 65 72 20 |o render| faster |
|00002dd0| 6f 6e 20 61 20 57 65 62 | 54 56 20 62 72 6f 77 73 |on a Web|TV brows|
|00002de0| 65 72 20 64 75 65 20 74 | 6f 20 6f 70 74 69 6d 69 |er due t|o optimi|
|00002df0| 7a 61 74 69 6f 6e 73 2e | 27 29 3b 0d 0a 20 7d 0d |zations.|');.. }.|
|00002e00| 0a 7d 0d 0a 0d 0a 69 66 | 20 28 20 69 73 46 6c 61 |.}....if| ( isFla|
|00002e10| 67 53 65 74 28 31 30 29 | 20 29 20 7b 0d 0a 20 4d |gSet(10)| ) {.. M|
|00002e20| 65 73 73 61 67 65 28 31 | 2c 20 24 4d 53 47 5f 43 |essage(1|, $MSG_C|
|00002e30| 4f 4d 4d 45 4e 54 2c 20 | 22 5b 31 30 5d 20 43 53 |OMMENT, |"[10] CS|
|00002e40| 45 20 48 54 4d 4c 20 56 | 61 6c 69 64 61 74 6f 72 |E HTML V|alidator|
|00002e50| 20 50 72 6f 66 65 73 73 | 69 6f 6e 61 6c 20 61 6c | Profess|ional al|
|00002e60| 6c 6f 77 73 20 79 6f 75 | 20 74 6f 20 64 69 73 61 |lows you| to disa|
|00002e70| 62 6c 65 20 63 65 72 74 | 61 69 6e 20 6d 65 73 73 |ble cert|ain mess|
|00002e80| 61 67 65 73 20 28 6c 69 | 6b 65 20 74 68 69 73 20 |ages (li|ke this |
|00002e90| 65 78 61 6d 70 6c 65 20 | 6d 65 73 73 61 67 65 29 |example |message)|
|00002ea0| 2e 20 46 6f 72 20 69 6e | 73 74 61 6e 63 65 2c 20 |. For in|stance, |
|00002eb0| 74 68 65 20 5b 31 30 5d | 20 69 6e 64 69 63 61 74 |the [10]| indicat|
|00002ec0| 65 73 20 74 68 61 74 20 | 79 6f 75 20 63 61 6e 20 |es that |you can |
|00002ed0| 64 69 73 61 62 6c 65 20 | 74 68 69 73 20 63 6f 6d |disable |this com|
|00002ee0| 6d 65 6e 74 20 62 79 20 | 64 69 73 61 62 6c 69 6e |ment by |disablin|
|00002ef0| 67 20 76 61 6c 69 64 61 | 74 6f 72 20 66 6c 61 67 |g valida|tor flag|
|00002f00| 20 31 30 2e 20 49 66 20 | 79 6f 75 20 61 72 65 20 | 10. If |you are |
|00002f10| 75 73 69 6e 67 20 48 54 | 4d 4c 20 56 61 6c 69 64 |using HT|ML Valid|
|00002f20| 61 74 6f 72 27 73 20 69 | 6e 74 65 67 72 61 74 65 |ator's i|ntegrate|
|00002f30| 64 20 65 64 69 74 6f 72 | 2c 20 79 6f 75 20 63 61 |d editor|, you ca|
|00002f40| 6e 20 73 69 6d 70 6c 79 | 20 75 73 65 20 79 6f 75 |n simply| use you|
|00002f50| 72 20 6d 6f 75 73 65 20 | 6f 6e 20 74 68 69 73 20 |r mouse |on this |
|00002f60| 6d 65 73 73 61 67 65 20 | 74 6f 20 6f 70 65 6e 20 |message |to open |
|00002f70| 74 68 65 20 63 6f 6e 74 | 65 78 74 20 6d 65 6e 75 |the cont|ext menu|
|00002f80| 20 28 75 73 75 61 6c 6c | 79 20 64 6f 6e 65 20 62 | (usuall|y done b|
|00002f90| 79 20 72 69 67 68 74 2d | 63 6c 69 63 6b 69 6e 67 |y right-|clicking|
|00002fa0| 20 74 68 65 20 6d 6f 75 | 73 65 20 6f 6e 20 74 68 | the mou|se on th|
|00002fb0| 69 73 20 6d 65 73 73 61 | 67 65 29 20 61 6e 64 20 |is messa|ge) and |
|00002fc0| 73 65 6c 65 63 74 20 27 | 44 69 73 61 62 6c 65 20 |select '|Disable |
|00002fd0| 46 6c 61 67 20 31 30 27 | 20 74 6f 20 64 69 73 61 |Flag 10'| to disa|
|00002fe0| 62 6c 65 20 74 68 69 73 | 20 6d 65 73 73 61 67 65 |ble this| message|
|00002ff0| 2e 20 46 6f 72 20 6d 6f | 72 65 20 69 6e 66 6f 72 |. For mo|re infor|
|00003000| 6d 61 74 69 6f 6e 20 61 | 62 6f 75 74 20 64 69 73 |mation a|bout dis|
|00003010| 61 62 6c 69 6e 67 20 6d | 65 73 73 61 67 65 73 2c |abling m|essages,|
|00003020| 20 70 6c 65 61 73 65 20 | 6c 6f 6f 6b 20 61 74 20 | please |look at |
|00003030| 74 68 65 20 43 6f 6e 66 | 69 67 75 72 61 74 69 6f |the Conf|iguratio|
|00003040| 6e 20 73 65 63 74 69 6f | 6e 20 69 6e 20 74 68 65 |n sectio|n in the|
|00003050| 20 64 6f 63 75 6d 65 6e | 74 61 74 69 6f 6e 2e 22 | documen|tation."|
|00003060| 29 3b 0d 0a 7d 0d 0a 0d | 0a 69 66 20 28 20 63 68 |);..}...|.if ( ch|
|00003070| 65 63 6b 56 65 72 73 69 | 6f 6e 28 34 2e 35 30 33 |eckVersi|on(4.503|
|00003080| 33 29 20 26 26 20 69 73 | 46 6c 61 67 53 65 74 28 |3) && is|FlagSet(|
|00003090| 35 37 29 20 29 20 7b 0d | 0a 20 4d 65 73 73 61 67 |57) ) {.|. Messag|
|000030a0| 65 28 31 2c 20 24 4d 53 | 47 5f 43 4f 4d 4d 45 4e |e(1, $MS|G_COMMEN|
|000030b0| 54 2c 20 27 5b 35 37 5d | 20 27 20 2b 20 74 6f 53 |T, '[57]| ' + toS|
|000030c0| 74 72 69 6e 67 28 24 62 | 79 74 65 73 29 20 2b 20 |tring($b|ytes) + |
|000030d0| 27 20 62 79 74 65 73 3b | 20 27 20 2b 20 74 6f 53 |' bytes;| ' + toS|
|000030e0| 74 72 69 6e 67 46 28 24 | 62 79 74 65 73 2f 31 34 |tringF($|bytes/14|
|000030f0| 34 30 2c 20 22 25 2e 31 | 66 22 29 20 2b 20 27 73 |40, "%.1|f") + 's|
|00003100| 40 31 34 2e 34 4b 62 70 | 73 2c 20 27 20 2b 0d 0a |@14.4Kbp|s, ' +..|
|00003110| 74 6f 53 74 72 69 6e 67 | 46 28 24 62 79 74 65 73 |toString|F($bytes|
|00003120| 2f 32 38 38 30 2c 20 22 | 25 2e 31 66 22 29 20 2b |/2880, "|%.1f") +|
|00003130| 20 27 73 40 32 38 2e 38 | 2c 20 27 20 2b 0d 0a 74 | 's@28.8|, ' +..t|
|00003140| 6f 53 74 72 69 6e 67 46 | 28 24 62 79 74 65 73 2f |oStringF|($bytes/|
|00003150| 35 30 30 30 2c 20 22 25 | 2e 31 66 22 29 20 2b 20 |5000, "%|.1f") + |
|00003160| 27 73 40 35 30 2c 20 27 | 20 2b 0d 0a 74 6f 53 74 |'s@50, '| +..toSt|
|00003170| 72 69 6e 67 46 28 24 62 | 79 74 65 73 2f 36 34 30 |ringF($b|ytes/640|
|00003180| 30 2c 20 22 25 2e 31 66 | 22 29 20 2b 20 27 73 40 |0, "%.1f|") + 's@|
|00003190| 36 34 2c 20 27 20 2b 0d | 0a 74 6f 53 74 72 69 6e |64, ' +.|.toStrin|
|000031a0| 67 46 28 24 62 79 74 65 | 73 2f 31 32 38 30 30 2c |gF($byte|s/12800,|
|000031b0| 20 22 25 2e 31 66 22 29 | 20 2b 20 27 73 40 31 32 | "%.1f")| + 's@12|
|000031c0| 38 2c 20 27 20 2b 0d 0a | 74 6f 53 74 72 69 6e 67 |8, ' +..|toString|
|000031d0| 46 28 24 62 79 74 65 73 | 2f 33 38 34 30 30 2c 20 |F($bytes|/38400, |
|000031e0| 22 25 2e 31 66 22 29 20 | 2b 20 27 73 40 33 38 34 |"%.1f") |+ 's@384|
|000031f0| 2c 20 27 20 2b 0d 0a 74 | 6f 53 74 72 69 6e 67 46 |, ' +..t|oStringF|
|00003200| 28 24 62 79 74 65 73 2f | 35 31 32 30 30 2c 20 22 |($bytes/|51200, "|
|00003210| 25 2e 31 66 22 29 20 2b | 20 27 73 40 35 31 32 2c |%.1f") +| 's@512,|
|00003220| 20 27 20 2b 0d 0a 74 6f | 53 74 72 69 6e 67 46 28 | ' +..to|StringF(|
|00003230| 24 62 79 74 65 73 2f 37 | 36 38 30 30 2c 20 22 25 |$bytes/7|6800, "%|
|00003240| 2e 31 66 22 29 20 2b 20 | 27 73 40 37 36 38 2c 20 |.1f") + |'s@768, |
|00003250| 27 20 2b 0d 0a 74 6f 53 | 74 72 69 6e 67 46 28 24 |' +..toS|tringF($|
|00003260| 62 79 74 65 73 2f 31 35 | 30 30 30 30 2c 20 22 25 |bytes/15|0000, "%|
|00003270| 2e 31 66 22 29 20 2b 20 | 27 73 40 31 2e 35 4d 62 |.1f") + |'s@1.5Mb|
|00003280| 70 73 2c 20 27 20 2b 0d | 0a 74 6f 53 74 72 69 6e |ps, ' +.|.toStrin|
|00003290| 67 46 28 24 62 79 74 65 | 73 2f 31 30 30 30 30 30 |gF($byte|s/100000|
|000032a0| 30 2c 20 22 25 2e 31 66 | 22 29 20 2b 20 27 73 40 |0, "%.1f|") + 's@|
|000032b0| 31 30 4d 62 70 73 2e 27 | 0d 0a 20 29 3b 0d 0a 7d |10Mbps.'|.. );..}|
|000032c0| 0d 0a 0d 0a 69 66 20 28 | 20 69 73 46 6c 61 67 53 |....if (| isFlagS|
|000032d0| 65 74 28 31 34 29 20 29 | 20 7b 0d 0a 20 24 66 69 |et(14) )| {.. $fi|
|000032e0| 6e 61 6c 63 6f 6d 6d 65 | 6e 74 3d 22 5b 31 34 5d |nalcomme|nt="[14]|
|000032f0| 20 22 20 2b 20 74 6f 53 | 74 72 69 6e 67 46 28 67 | " + toS|tringF(g|
|00003300| 65 74 56 61 6c 75 65 46 | 6c 6f 61 74 28 31 29 29 |etValueF|loat(1))|
|00003310| 20 2b 20 22 73 2c 20 22 | 20 2b 0d 0a 20 20 74 6f | + "s, "| +.. to|
|00003320| 53 74 72 69 6e 67 28 67 | 65 74 56 61 6c 75 65 49 |String(g|etValueI|
|00003330| 6e 74 28 31 29 29 20 2b | 20 70 6c 75 72 61 6c 69 |nt(1)) +| plurali|
|00003340| 7a 65 28 22 20 65 72 72 | 6f 72 22 2c 20 67 65 74 |ze(" err|or", get|
|00003350| 56 61 6c 75 65 49 6e 74 | 28 31 29 29 20 2b 20 22 |ValueInt|(1)) + "|
|00003360| 2c 20 22 20 2b 0d 0a 20 | 20 74 6f 53 74 72 69 6e |, " +.. | toStrin|
|00003370| 67 28 67 65 74 56 61 6c | 75 65 49 6e 74 28 32 29 |g(getVal|ueInt(2)|
|00003380| 29 20 2b 20 70 6c 75 72 | 61 6c 69 7a 65 28 22 20 |) + plur|alize(" |
|00003390| 77 61 72 6e 69 6e 67 22 | 2c 20 67 65 74 56 61 6c |warning"|, getVal|
|000033a0| 75 65 49 6e 74 28 32 29 | 29 20 2b 20 22 2c 20 22 |ueInt(2)|) + ", "|
|000033b0| 20 2b 0d 0a 20 20 74 6f | 53 74 72 69 6e 67 28 67 | +.. to|String(g|
|000033c0| 65 74 56 61 6c 75 65 49 | 6e 74 28 33 29 29 20 2b |etValueI|nt(3)) +|
|000033d0| 20 70 6c 75 72 61 6c 69 | 7a 65 28 22 20 6d 65 73 | plurali|ze(" mes|
|000033e0| 73 61 67 65 22 2c 20 67 | 65 74 56 61 6c 75 65 49 |sage", g|etValueI|
|000033f0| 6e 74 28 33 29 29 20 2b | 20 22 2c 20 22 20 2b 0d |nt(3)) +| ", " +.|
|00003400| 0a 20 20 74 6f 53 74 72 | 69 6e 67 28 67 65 74 56 |. toStr|ing(getV|
|00003410| 61 6c 75 65 49 6e 74 28 | 34 29 2b 31 29 20 2b 20 |alueInt(|4)+1) + |
|00003420| 70 6c 75 72 61 6c 69 7a | 65 28 22 20 76 61 6c 69 |pluraliz|e(" vali|
|00003430| 64 61 74 6f 72 20 63 6f | 6d 6d 65 6e 74 22 2c 20 |dator co|mment", |
|00003440| 67 65 74 56 61 6c 75 65 | 49 6e 74 28 34 29 2b 31 |getValue|Int(4)+1|
|00003450| 29 20 2b 20 22 2c 20 22 | 20 2b 0d 0a 20 20 74 6f |) + ", "| +.. to|
|00003460| 53 74 72 69 6e 67 28 67 | 65 74 56 61 6c 75 65 49 |String(g|etValueI|
|00003470| 6e 74 28 38 29 29 20 2b | 20 70 6c 75 72 61 6c 69 |nt(8)) +| plurali|
|00003480| 7a 65 28 22 20 6c 69 6e | 65 22 2c 20 67 65 74 56 |ze(" lin|e", getV|
|00003490| 61 6c 75 65 49 6e 74 28 | 38 29 29 20 2b 20 22 2c |alueInt(|8)) + ",|
|000034a0| 20 22 20 2b 0d 0a 20 20 | 74 6f 53 74 72 69 6e 67 | " +.. |toString|
|000034b0| 28 67 65 74 56 61 6c 75 | 65 49 6e 74 28 39 29 29 |(getValu|eInt(9))|
|000034c0| 20 2b 20 70 6c 75 72 61 | 6c 69 7a 65 28 22 20 74 | + plura|lize(" t|
|000034d0| 61 67 22 2c 20 67 65 74 | 56 61 6c 75 65 49 6e 74 |ag", get|ValueInt|
|000034e0| 28 39 29 29 20 2b 0d 0a | 20 22 20 28 22 20 2b 20 |(9)) +..| " (" + |
|000034f0| 74 6f 53 74 72 69 6e 67 | 28 67 65 74 56 61 6c 75 |toString|(getValu|
|00003500| 65 49 6e 74 28 31 30 29 | 29 2b 20 22 20 63 6c 6f |eInt(10)|)+ " clo|
|00003510| 73 65 64 29 2c 20 22 20 | 2b 0d 0a 20 20 74 6f 53 |sed), " |+.. toS|
|00003520| 74 72 69 6e 67 28 67 65 | 74 56 61 6c 75 65 49 6e |tring(ge|tValueIn|
|00003530| 74 28 31 31 29 29 20 2b | 20 70 6c 75 72 61 6c 69 |t(11)) +| plurali|
|00003540| 7a 65 28 22 20 64 6f 63 | 75 6d 65 6e 74 20 63 6f |ze(" doc|ument co|
|00003550| 6d 6d 65 6e 74 22 2c 20 | 67 65 74 56 61 6c 75 65 |mment", |getValue|
|00003560| 49 6e 74 28 31 31 29 29 | 20 2b 20 22 2c 20 22 20 |Int(11))| + ", " |
|00003570| 2b 0d 0a 20 20 74 6f 53 | 74 72 69 6e 67 28 67 65 |+.. toS|tring(ge|
|00003580| 74 56 61 6c 75 65 49 6e | 74 28 31 32 29 29 20 2b |tValueIn|t(12)) +|
|00003590| 20 70 6c 75 72 61 6c 69 | 7a 65 28 22 20 65 6e 74 | plurali|ze(" ent|
|000035a0| 69 74 22 2c 20 67 65 74 | 56 61 6c 75 65 49 6e 74 |it", get|ValueInt|
|000035b0| 28 31 32 29 2c 31 29 20 | 2b 20 22 2c 20 22 20 2b |(12),1) |+ ", " +|
|000035c0| 0d 0a 20 20 74 6f 53 74 | 72 69 6e 67 28 67 65 74 |.. toSt|ring(get|
|000035d0| 56 61 6c 75 65 49 6e 74 | 28 31 33 29 29 20 2b 20 |ValueInt|(13)) + |
|000035e0| 70 6c 75 72 61 6c 69 7a | 65 28 22 20 70 72 6f 67 |pluraliz|e(" prog|
|000035f0| 72 61 6d 22 2c 20 67 65 | 74 56 61 6c 75 65 49 6e |ram", ge|tValueIn|
|00003600| 74 28 31 33 29 29 20 2b | 20 22 20 72 75 6e 2e 22 |t(13)) +| " run."|
|00003610| 3b 0d 0a 20 4d 65 73 73 | 61 67 65 28 31 2c 20 24 |;.. Mess|age(1, $|
|00003620| 4d 53 47 5f 43 4f 4d 4d | 45 4e 54 2c 20 24 66 69 |MSG_COMM|ENT, $fi|
|00003630| 6e 61 6c 63 6f 6d 6d 65 | 6e 74 29 3b 20 0d 0a 7d |nalcomme|nt); ..}|
|00003640| 0d 0a 0d 0a 72 75 6e 50 | 72 6f 67 72 61 6d 28 36 |....runP|rogram(6|
|00003650| 34 29 3b 0d 0a 0d 0a 01 | 00 00 00 0b 0e 00 00 0d |4);.....|........|
|00003660| 0a 69 66 20 28 20 21 63 | 68 65 63 6b 56 65 72 73 |.if ( !c|heckVers|
|00003670| 69 6f 6e 28 35 2e 30 30 | 30 30 29 20 29 20 7b 0d |ion(5.00|00) ) {.|
|00003680| 0a 20 4d 65 73 73 61 67 | 65 28 31 2c 20 24 4d 53 |. Messag|e(1, $MS|
|00003690| 47 42 4f 58 5f 57 41 52 | 4e 49 4e 47 2c 20 22 46 |GBOX_WAR|NING, "F|
|000036a0| 6f 72 20 71 75 61 6c 69 | 74 79 20 72 65 61 73 6f |or quali|ty reaso|
|000036b0| 6e 73 2c 20 79 6f 75 20 | 6e 65 65 64 20 74 6f 20 |ns, you |need to |
|000036c0| 75 70 67 72 61 64 65 20 | 74 6f 20 74 68 65 20 6c |upgrade |to the l|
|000036d0| 61 74 65 73 74 20 76 65 | 72 73 69 6f 6e 20 6f 66 |atest ve|rsion of|
|000036e0| 20 43 53 45 20 48 54 4d | 4c 20 56 61 6c 69 64 61 | CSE HTM|L Valida|
|000036f0| 74 6f 72 20 50 72 6f 66 | 65 73 73 69 6f 6e 61 6c |tor Prof|essional|
|00003700| 20 62 65 63 61 75 73 65 | 20 79 6f 75 20 61 72 65 | because| you are|
|00003710| 20 75 73 69 6e 67 20 74 | 68 69 73 20 6e 65 77 65 | using t|his newe|
|00003720| 72 20 63 6f 6e 66 69 67 | 75 72 61 74 69 6f 6e 20 |r config|uration |
|00003730| 66 69 6c 65 2e 20 56 69 | 73 69 74 20 68 74 74 70 |file. Vi|sit http|
|00003740| 3a 2f 2f 77 77 77 2e 68 | 74 6d 6c 76 61 6c 69 64 |://www.h|tmlvalid|
|00003750| 61 74 6f 72 2e 63 6f 6d | 2f 20 74 6f 20 6f 62 74 |ator.com|/ to obt|
|00003760| 61 69 6e 20 74 68 65 20 | 6c 61 74 65 73 74 20 76 |ain the |latest v|
|00003770| 65 72 73 69 6f 6e 2e 20 | 54 68 69 73 20 6d 65 73 |ersion. |This mes|
|00003780| 73 61 67 65 20 77 69 6c | 6c 20 61 70 70 65 61 72 |sage wil|l appear|
|00003790| 20 62 65 66 6f 72 65 20 | 65 76 65 72 79 20 76 61 | before |every va|
|000037a0| 6c 69 64 61 74 69 6f 6e | 20 75 6e 74 69 6c 20 79 |lidation| until y|
|000037b0| 6f 75 20 75 70 67 72 61 | 64 65 2e 20 43 6f 6e 74 |ou upgra|de. Cont|
|000037c0| 69 6e 75 69 6e 67 20 74 | 6f 20 75 73 65 20 74 68 |inuing t|o use th|
|000037d0| 69 73 20 6e 65 77 65 72 | 20 63 6f 6e 66 69 67 75 |is newer| configu|
|000037e0| 72 61 74 69 6f 6e 20 77 | 69 74 68 20 61 6e 20 6f |ration w|ith an o|
|000037f0| 6c 64 65 72 20 76 65 72 | 73 69 6f 6e 20 6f 66 20 |lder ver|sion of |
|00003800| 48 54 4d 4c 20 56 61 6c | 69 64 61 74 6f 72 20 6d |HTML Val|idator m|
|00003810| 61 79 20 72 65 73 75 6c | 74 20 69 6e 20 65 72 72 |ay resul|t in err|
|00003820| 6f 6e 65 6f 75 73 20 65 | 72 72 6f 72 73 20 61 6e |oneous e|rrors an|
|00003830| 64 2f 6f 72 20 69 6d 70 | 72 6f 70 65 72 20 76 61 |d/or imp|roper va|
|00003840| 6c 69 64 61 74 69 6f 6e | 2e 22 29 3b 0d 0a 7d 0d |lidation|.");..}.|
|00003850| 0a 0d 0a 23 6a 6f 62 73 | 75 62 74 79 70 65 73 65 |...#jobs|ubtypese|
|00003860| 74 62 79 66 6c 61 67 3d | 30 3b 0d 0a 69 66 20 28 |tbyflag=|0;..if (|
|00003870| 20 67 65 74 56 61 6c 75 | 65 49 6e 74 28 32 30 29 | getValu|eInt(20)|
|00003880| 21 3d 2d 31 20 29 20 7b | 0d 0a 20 40 70 72 6f 63 |!=-1 ) {|.. @proc|
|00003890| 65 73 73 4a 6f 62 53 75 | 62 54 79 70 65 28 29 3b |essJobSu|bType();|
|000038a0| 0d 0a 7d 0d 0a 65 6c 73 | 65 20 7b 0d 0a 20 69 66 |..}..els|e {.. if|
|000038b0| 20 28 20 21 69 73 46 6c | 61 67 53 65 74 28 35 38 | ( !isFl|agSet(58|
|000038c0| 29 20 29 20 7b 0d 0a 20 | 20 73 65 74 56 61 6c 75 |) ) {.. | setValu|
|000038d0| 65 49 6e 74 28 32 30 2c | 31 29 3b 0d 0a 20 20 23 |eInt(20,|1);.. #|
|000038e0| 6a 6f 62 73 75 62 74 79 | 70 65 73 65 74 62 79 66 |jobsubty|pesetbyf|
|000038f0| 6c 61 67 3d 31 3b 0d 0a | 20 20 40 70 72 6f 63 65 |lag=1;..| @proce|
|00003900| 73 73 4a 6f 62 53 75 62 | 54 79 70 65 28 29 3b 0d |ssJobSub|Type();.|
|00003910| 0a 20 7d 0d 0a 20 65 6c | 73 65 20 7b 0d 0a 20 20 |. }.. el|se {.. |
|00003920| 69 66 20 28 20 21 69 73 | 46 6c 61 67 53 65 74 28 |if ( !is|FlagSet(|
|00003930| 35 39 29 20 29 20 7b 0d | 0a 20 20 20 73 65 74 56 |59) ) {.|. setV|
|00003940| 61 6c 75 65 49 6e 74 28 | 32 30 2c 32 29 3b 0d 0a |alueInt(|20,2);..|
|00003950| 20 20 20 23 6a 6f 62 73 | 75 62 74 79 70 65 73 65 | #jobs|ubtypese|
|00003960| 74 62 79 66 6c 61 67 3d | 31 3b 0d 0a 20 20 20 40 |tbyflag=|1;.. @|
|00003970| 70 72 6f 63 65 73 73 4a | 6f 62 53 75 62 54 79 70 |processJ|obSubTyp|
|00003980| 65 28 29 3b 0d 0a 20 20 | 7d 0d 0a 20 7d 0d 0a 7d |e();.. |}.. }..}|
|00003990| 0d 0a 0d 0a 69 66 20 28 | 20 69 73 46 6c 61 67 53 |....if (| isFlagS|
|000039a0| 65 74 28 31 32 29 20 29 | 20 7b 0d 0a 20 69 66 20 |et(12) )| {.. if |
|000039b0| 28 20 21 67 65 74 56 61 | 6c 75 65 69 6e 74 28 31 |( !getVa|lueint(1|
|000039c0| 36 29 20 29 20 7b 0d 0a | 20 20 73 65 74 50 72 69 |6) ) {..| setPri|
|000039d0| 6f 72 69 74 79 28 31 29 | 3b 0d 0a 20 7d 0d 0a 7d |ority(1)|;.. }..}|
|000039e0| 0d 0a 0d 0a 24 63 68 65 | 63 6b 65 6e 74 69 6e 61 |....$che|ckentina|
|000039f0| 74 74 76 61 6c 70 72 65 | 70 65 6e 64 3d 22 5b 36 |ttvalpre|pend="[6|
|00003a00| 34 5d 20 22 3b 0d 0a 69 | 66 20 28 20 21 69 73 46 |4] ";..i|f ( !isF|
|00003a10| 6c 61 67 53 65 74 28 36 | 34 29 20 29 20 7b 0d 0a |lagSet(6|4) ) {..|
|00003a20| 20 73 65 74 46 6c 61 67 | 28 33 2c 31 33 31 30 37 | setFlag|(3,13107|
|00003a30| 32 2c 30 29 3b 0d 0a 7d | 0d 0a 0d 0a 24 61 6c 74 |2,0);..}|....$alt|
|00003a40| 65 71 75 61 6c 73 6e 6f | 74 68 69 6e 67 6d 65 73 |equalsno|thingmes|
|00003a50| 73 61 67 65 3d 27 55 73 | 65 20 61 6c 74 3d 22 22 |sage='Us|e alt=""|
|00003a60| 20 77 68 65 6e 20 61 6c | 74 65 72 6e 61 74 65 20 | when al|ternate |
|00003a70| 74 65 78 74 20 69 73 20 | 6e 6f 74 20 61 70 70 72 |text is |not appr|
|00003a80| 6f 70 72 69 61 74 65 2c | 20 73 75 63 68 20 61 73 |opriate,| such as|
|00003a90| 20 77 68 65 6e 20 69 6d | 61 67 65 73 20 61 72 65 | when im|ages are|
|00003aa0| 20 69 6e 74 65 6e 64 65 | 64 20 74 6f 20 66 6f 72 | intende|d to for|
|00003ab0| 6d 61 74 20 61 20 70 61 | 67 65 2e 27 3b 0d 0a 0d |mat a pa|ge.';...|
|00003ac0| 0a 24 65 6c 65 6d 65 6e | 74 6e 6f 74 69 6e 66 6f |.$elemen|tnotinfo|
|00003ad0| 72 6d 6d 73 67 3d 27 5b | 35 5d 20 54 68 65 20 22 |rmmsg='[|5] The "|
|00003ae0| 69 6e 70 75 74 22 2c 20 | 22 74 65 78 74 61 72 65 |input", |"textare|
|00003af0| 61 22 2c 20 6f 72 20 22 | 73 65 6c 65 63 74 22 20 |a", or "|select" |
|00003b00| 65 6c 65 6d 65 6e 74 20 | 69 73 20 6e 6f 74 20 69 |element |is not i|
|00003b10| 6e 20 61 20 66 6f 72 6d | 2e 20 48 54 4d 4c 20 34 |n a form|. HTML 4|
|00003b20| 2e 30 31 20 61 6c 6c 6f | 77 73 20 74 68 69 73 20 |.01 allo|ws this |
|00003b30| 62 75 74 20 79 6f 75 20 | 6d 61 79 20 77 61 6e 74 |but you |may want|
|00003b40| 20 74 6f 20 6d 61 6b 65 | 20 73 75 72 65 20 74 68 | to make| sure th|
|00003b50| 61 74 20 74 68 69 73 20 | 69 73 20 77 68 61 74 20 |at this |is what |
|00003b60| 79 6f 75 20 77 61 6e 74 | 2e 20 53 6f 6d 65 20 62 |you want|. Some b|
|00003b70| 72 6f 77 73 65 72 73 2c | 20 73 75 63 68 20 61 73 |rowsers,| such as|
|00003b80| 20 4e 65 74 73 63 61 70 | 65 20 4e 61 76 69 67 61 | Netscap|e Naviga|
|00003b90| 74 6f 72 2c 20 6d 61 79 | 20 6e 6f 74 20 64 69 73 |tor, may| not dis|
|00003ba0| 70 6c 61 79 20 74 68 65 | 73 65 20 65 6c 65 6d 65 |play the|se eleme|
|00003bb0| 6e 74 73 20 69 66 20 74 | 68 65 79 20 61 72 65 20 |nts if t|hey are |
|00003bc0| 6f 75 74 73 69 64 65 20 | 6f 66 20 61 20 66 6f 72 |outside |of a for|
|00003bd0| 6d 2e 20 54 68 69 73 20 | 6d 65 73 73 61 67 65 20 |m. This |message |
|00003be0| 77 69 6c 6c 20 6f 6e 6c | 79 20 62 65 20 64 69 73 |will onl|y be dis|
|00003bf0| 70 6c 61 79 65 64 20 6f | 6e 63 65 2e 27 3b 0d 0a |played o|nce.';..|
|00003c00| 0d 0a 23 70 69 63 73 6c | 61 62 65 6c 75 73 65 64 |..#picsl|abelused|
|00003c10| 3d 30 3b 0d 0a 23 63 75 | 72 72 65 6e 74 74 61 62 |=0;..#cu|rrenttab|
|00003c20| 6c 65 6e 65 73 74 3d 30 | 3b 0d 0a 23 6d 61 78 74 |lenest=0|;..#maxt|
|00003c30| 61 62 6c 65 6e 65 73 74 | 3d 30 3b 0d 0a 23 6e 75 |ablenest|=0;..#nu|
|00003c40| 6d 69 64 61 74 74 75 73 | 65 64 3d 30 3b 0d 0a 23 |midattus|ed=0;..#|
|00003c50| 6e 75 6d 69 6e 74 65 72 | 6e 61 6c 6c 69 6e 6b 73 |numinter|nallinks|
|00003c60| 3d 30 3b 0d 0a 23 72 62 | 63 69 6e 72 75 62 79 63 |=0;..#rb|cinrubyc|
|00003c70| 6f 75 6e 74 3d 30 3b 0d | 0a 23 72 62 69 6e 72 75 |ount=0;.|.#rbinru|
|00003c80| 62 79 63 6f 75 6e 74 3d | 30 3b 0d 0a 23 72 74 63 |bycount=|0;..#rtc|
|00003c90| 69 6e 72 75 62 79 63 6f | 75 6e 74 3d 30 3b 0d 0a |inrubyco|unt=0;..|
|00003ca0| 0d 0a 2f 2a 20 30 20 2d | 20 48 54 4d 4c 2c 20 31 |../* 0 -| HTML, 1|
|00003cb0| 20 2d 20 53 4d 49 4c 2c | 20 32 20 2d 20 52 65 61 | - SMIL,| 2 - Rea|
|00003cc0| 6c 54 65 78 74 2c 20 33 | 20 2d 20 57 4d 4c 2c 20 |lText, 3| - WML, |
|00003cd0| 34 20 2d 20 58 48 54 4d | 4c 2c 20 35 20 2d 20 43 |4 - XHTM|L, 5 - C|
|00003ce0| 53 45 20 54 61 67 20 49 | 6e 73 65 72 74 65 72 20 |SE Tag I|nserter |
|00003cf0| 63 6f 6e 66 69 67 20 2a | 2f 0d 0a 23 64 6f 63 75 |config *|/..#docu|
|00003d00| 6d 65 6e 74 74 79 70 65 | 3d 30 3b 0d 0a 0d 0a 2f |menttype|=0;..../|
|00003d10| 2a 20 53 4d 49 4c 20 2a | 2f 0d 0a 0d 0a 2f 2a 20 |* SMIL *|/..../* |
|00003d20| 64 69 73 61 62 6c 65 20 | 53 4d 49 4c 2c 20 52 65 |disable |SMIL, Re|
|00003d30| 61 6c 54 65 78 74 2c 20 | 57 4d 4c 20 2a 2f 0d 0a |alText, |WML */..|
|00003d40| 2f 2a 20 61 63 74 69 76 | 61 74 65 43 61 74 65 67 |/* activ|ateCateg|
|00003d50| 6f 72 79 28 32 36 2c 30 | 29 3b 0d 0a 61 63 74 69 |ory(26,0|);..acti|
|00003d60| 76 61 74 65 43 61 74 65 | 67 6f 72 79 28 32 39 2c |vateCate|gory(29,|
|00003d70| 30 29 3b 0d 0a 61 63 74 | 69 76 61 74 65 43 61 74 |0);..act|ivateCat|
|00003d80| 65 67 6f 72 79 28 33 35 | 2c 30 29 3b 20 2a 2f 0d |egory(35|,0); */.|
|00003d90| 0a 0d 0a 24 73 6d 69 6c | 74 69 74 6c 65 6d 65 73 |...$smil|titlemes|
|00003da0| 73 61 67 65 3d 27 5b 32 | 30 5d 20 54 68 65 20 53 |sage='[2|0] The S|
|00003db0| 4d 49 4c 20 73 70 65 63 | 69 66 69 63 61 74 69 6f |MIL spec|ificatio|
|00003dc0| 6e 20 68 69 67 68 6c 79 | 20 72 65 63 6f 6d 6d 65 |n highly| recomme|
|00003dd0| 6e 64 73 20 74 68 61 74 | 20 79 6f 75 20 75 73 65 |nds that| you use|
|00003de0| 20 61 20 22 74 69 74 6c | 65 22 20 61 74 74 72 69 | a "titl|e" attri|
|00003df0| 62 75 74 65 20 77 69 74 | 68 20 61 20 6d 65 61 6e |bute wit|h a mean|
|00003e00| 69 6e 67 66 75 6c 20 64 | 65 73 63 72 69 70 74 69 |ingful d|escripti|
|00003e10| 6f 6e 20 77 68 65 6e 20 | 79 6f 75 20 75 73 65 20 |on when |you use |
|00003e20| 74 68 65 20 27 3b 0d 0a | 0d 0a 24 68 65 61 64 69 |the ';..|..$headi|
|00003e30| 6e 67 6f 72 64 65 72 6d | 65 73 73 61 67 65 3d 27 |ngorderm|essage='|
|00003e40| 5b 37 5d 20 59 6f 75 27 | 20 2b 20 22 27 22 20 2b |[7] You'| + "'" +|
|00003e50| 20 27 76 65 20 75 73 65 | 64 20 61 20 68 65 61 64 | 've use|d a head|
|00003e60| 69 6e 67 20 77 69 74 68 | 6f 75 74 20 70 72 65 76 |ing with|out prev|
|00003e70| 69 6f 75 73 6c 79 20 75 | 73 69 6e 67 20 74 68 65 |iously u|sing the|
|00003e80| 20 68 69 67 68 65 72 20 | 68 65 61 64 69 6e 67 20 | higher |heading |
|00003e90| 6c 65 76 65 6c 73 2e 20 | 53 6f 6d 65 20 48 54 4d |levels. |Some HTM|
|00003ea0| 4c 20 61 75 74 68 6f 72 | 73 20 63 6f 6e 73 69 64 |L author|s consid|
|00003eb0| 65 72 20 74 68 69 73 20 | 62 61 64 20 73 74 79 6c |er this |bad styl|
|00003ec0| 65 2e 20 46 6f 72 20 65 | 78 61 6d 70 6c 65 2c 20 |e. For e|xample, |
|00003ed0| 69 66 20 79 6f 75 20 75 | 73 65 20 22 68 34 22 2c |if you u|se "h4",|
|00003ee0| 20 74 68 65 6e 20 22 68 | 31 22 2c 20 22 68 32 22 | then "h|1", "h2"|
|00003ef0| 2c 20 61 6e 64 20 22 68 | 33 22 20 73 68 6f 75 6c |, and "h|3" shoul|
|00003f00| 64 20 68 61 76 65 20 61 | 6c 72 65 61 64 79 20 62 |d have a|lready b|
|00003f10| 65 65 6e 20 75 73 65 64 | 2c 20 69 6e 20 74 68 61 |een used|, in tha|
|00003f20| 74 20 6f 72 64 65 72 2e | 27 3b 0d 0a 0d 0a 24 75 |t order.|';....$u|
|00003f30| 73 69 6e 67 69 6e 74 65 | 64 69 74 6f 72 61 64 64 |singinte|ditoradd|
|00003f40| 74 61 67 6d 73 67 3d 67 | 65 74 56 61 6c 75 65 53 |tagmsg=g|etValueS|
|00003f50| 74 72 69 6e 67 28 37 29 | 3b 0d 0a 24 64 6f 63 74 |tring(7)|;..$doct|
|00003f60| 79 70 65 6d 65 73 73 61 | 67 65 61 70 70 65 6e 64 |ypemessa|geappend|
|00003f70| 3d 22 20 46 6f 72 20 6d | 6f 72 65 20 69 6e 66 6f |=" For m|ore info|
|00003f80| 72 6d 61 74 69 6f 6e 20 | 61 6e 64 20 74 68 65 20 |rmation |and the |
|00003f90| 6c 69 73 74 20 6f 66 20 | 72 65 63 6f 67 6e 69 7a |list of |recogniz|
|00003fa0| 65 64 20 44 4f 43 54 59 | 50 45 73 2c 20 70 6c 65 |ed DOCTY|PEs, ple|
|00003fb0| 61 73 65 20 76 69 73 69 | 74 20 68 74 74 70 3a 2f |ase visi|t http:/|
|00003fc0| 2f 77 77 77 2e 68 74 6d | 6c 76 61 6c 69 64 61 74 |/www.htm|lvalidat|
|00003fd0| 6f 72 2e 63 6f 6d 2f 68 | 74 6d 6c 76 61 6c 2f 76 |or.com/h|tmlval/v|
|00003fe0| 35 30 2f 64 6f 63 73 2f | 63 6f 6e 66 69 67 75 72 |50/docs/|configur|
|00003ff0| 61 74 69 6f 6e 2e 68 74 | 6d 6c 23 66 6c 61 67 36 |ation.ht|ml#flag6|
|00004000| 35 22 3b 0d 0a 0d 0a 24 | 41 43 43 45 53 53 49 42 |5";....$|ACCESSIB|
|00004010| 49 4c 49 54 59 3d 27 41 | 63 63 65 73 73 69 62 69 |ILITY='A|ccessibi|
|00004020| 6c 69 74 79 27 3b 0d 0a | 24 44 45 50 52 45 43 41 |lity';..|$DEPRECA|
|00004030| 54 45 44 3d 27 44 65 70 | 72 65 63 61 74 65 64 27 |TED='Dep|recated'|
|00004040| 3b 0d 0a 24 47 45 4e 43 | 4f 4d 50 41 54 3d 27 47 |;..$GENC|OMPAT='G|
|00004050| 65 6e 65 72 61 6c 20 43 | 6f 6d 70 61 74 69 62 69 |eneral C|ompatibi|
|00004060| 6c 69 74 79 27 3b 0d 0a | 24 48 54 4d 4c 34 30 43 |lity';..|$HTML40C|
|00004070| 4f 4d 50 41 54 3d 27 48 | 54 4d 4c 20 34 2e 30 20 |OMPAT='H|TML 4.0 |
|00004080| 43 6f 6d 70 61 74 69 62 | 69 6c 69 74 79 27 3b 0d |Compatib|ility';.|
|00004090| 0a 24 58 48 54 4d 4c 31 | 30 43 4f 4d 50 41 54 3d |.$XHTML1|0COMPAT=|
|000040a0| 27 58 48 54 4d 4c 20 31 | 2e 30 20 43 6f 6d 70 61 |'XHTML 1|.0 Compa|
|000040b0| 74 69 62 69 6c 69 74 79 | 27 3b 0d 0a 24 58 48 54 |tibility|';..$XHT|
|000040c0| 4d 4c 31 31 43 4f 4d 50 | 41 54 3d 27 58 48 54 4d |ML11COMP|AT='XHTM|
|000040d0| 4c 20 31 2e 31 20 43 6f | 6d 70 61 74 69 62 69 6c |L 1.1 Co|mpatibil|
|000040e0| 69 74 79 27 3b 0d 0a 24 | 4d 53 49 45 3d 27 4d 69 |ity';..$|MSIE='Mi|
|000040f0| 63 72 6f 73 6f 66 74 20 | 49 6e 74 65 72 6e 65 74 |crosoft |Internet|
|00004100| 20 45 78 70 6c 6f 72 65 | 72 27 3b 0d 0a 24 4e 45 | Explore|r';..$NE|
|00004110| 54 53 43 41 50 45 3d 22 | 4e 65 74 73 63 61 70 65 |TSCAPE="|Netscape|
|00004120| 22 3b 0d 0a 24 4f 42 53 | 4f 4c 45 54 45 3d 27 4f |";..$OBS|OLETE='O|
|00004130| 62 73 6f 6c 65 74 65 27 | 3b 0d 0a 24 53 54 59 4c |bsolete'|;..$STYL|
|00004140| 45 3d 27 47 6f 6f 64 20 | 53 74 79 6c 65 27 3b 0d |E='Good |Style';.|
|00004150| 0a 24 54 49 50 53 3d 27 | 54 69 70 73 27 3b 0d 0a |.$TIPS='|Tips';..|
|00004160| 24 57 45 42 54 56 3d 27 | 57 65 62 54 56 27 3b 0d |$WEBTV='|WebTV';.|
|00004170| 0a 24 53 45 41 52 43 48 | 45 4e 47 49 4e 45 3d 27 |.$SEARCH|ENGINE='|
|00004180| 53 65 61 72 63 68 20 45 | 6e 67 69 6e 65 27 3b 0d |Search E|ngine';.|
|00004190| 0a 24 4d 53 47 5f 53 45 | 43 54 49 4f 4e 35 30 38 |.$MSG_SE|CTION508|
|000041a0| 3d 24 4d 53 47 5f 45 52 | 52 4f 52 3b 0d 0a 24 53 |=$MSG_ER|ROR;..$S|
|000041b0| 45 43 54 49 4f 4e 35 30 | 38 3d 27 53 65 63 74 69 |ECTION50|8='Secti|
|000041c0| 6f 6e 20 35 30 38 20 41 | 63 63 65 73 73 69 62 69 |on 508 A|ccessibi|
|000041d0| 6c 69 74 79 20 53 74 61 | 6e 64 61 72 64 73 27 3b |lity Sta|ndards';|
|000041e0| 0d 0a 0d 0a 73 65 74 46 | 6c 61 67 28 38 2c 37 37 |....setF|lag(8,77|
|000041f0| 2c 30 29 3b 0d 0a 73 65 | 74 46 6c 61 67 28 38 2c |,0);..se|tFlag(8,|
|00004200| 38 34 2c 30 29 3b 0d 0a | 0d 0a 69 66 20 28 20 21 |84,0);..|..if ( !|
|00004210| 69 73 46 6c 61 67 53 65 | 74 28 37 32 29 20 29 20 |isFlagSe|t(72) ) |
|00004220| 7b 20 2f 2a 20 64 69 73 | 61 62 6c 65 20 73 65 63 |{ /* dis|able sec|
|00004230| 74 69 6f 6e 20 35 30 38 | 20 66 6c 61 67 73 20 2a |tion 508| flags *|
|00004240| 2f 0d 0a 20 73 65 74 46 | 6c 61 67 28 38 2c 36 36 |/.. setF|lag(8,66|
|00004250| 2c 30 29 3b 0d 0a 20 73 | 65 74 46 6c 61 67 28 38 |,0);.. s|etFlag(8|
|00004260| 2c 36 37 2c 30 29 3b 0d | 0a 20 73 65 74 46 6c 61 |,67,0);.|. setFla|
|00004270| 67 28 38 2c 36 38 2c 30 | 29 3b 0d 0a 20 73 65 74 |g(8,68,0|);.. set|
|00004280| 46 6c 61 67 28 38 2c 36 | 39 2c 30 29 3b 0d 0a 20 |Flag(8,6|9,0);.. |
|00004290| 73 65 74 46 6c 61 67 28 | 38 2c 37 30 2c 30 29 3b |setFlag(|8,70,0);|
|000042a0| 0d 0a 20 73 65 74 46 6c | 61 67 28 38 2c 37 31 2c |.. setFl|ag(8,71,|
|000042b0| 30 29 3b 0d 0a 20 69 66 | 20 28 20 69 73 46 6c 61 |0);.. if| ( isFla|
|000042c0| 67 53 65 74 28 37 33 29 | 20 29 20 7b 0d 0a 20 20 |gSet(73)| ) {.. |
|000042d0| 4d 65 73 73 61 67 65 45 | 78 28 31 2c 20 24 4d 53 |MessageE|x(1, $MS|
|000042e0| 47 5f 4d 45 53 53 41 47 | 45 2c 20 24 53 45 43 54 |G_MESSAG|E, $SECT|
|000042f0| 49 4f 4e 35 30 38 2c 20 | 27 5b 37 32 5d 20 5b 37 |ION508, |'[72] [7|
|00004300| 33 5d 20 54 68 65 20 73 | 65 63 74 69 6f 6e 20 35 |3] The s|ection 5|
|00004310| 30 38 20 61 63 63 65 73 | 73 69 62 69 6c 69 74 79 |08 acces|sibility|
|00004320| 20 6d 65 73 73 61 67 65 | 73 20 61 72 65 20 61 6c | message|s are al|
|00004330| 6c 20 64 69 73 61 62 6c | 65 64 2e 20 54 6f 20 65 |l disabl|ed. To e|
|00004340| 6e 61 62 6c 65 20 74 68 | 65 73 65 20 6d 65 73 73 |nable th|ese mess|
|00004350| 61 67 65 73 2c 20 65 6e | 61 62 6c 65 20 66 6c 61 |ages, en|able fla|
|00004360| 67 20 37 32 2e 20 54 6f | 20 64 69 73 61 62 6c 65 |g 72. To| disable|
|00004370| 20 74 68 69 73 20 6d 65 | 73 73 61 67 65 2c 20 64 | this me|ssage, d|
|00004380| 69 73 61 62 6c 65 20 66 | 6c 61 67 20 37 33 2e 27 |isable f|lag 73.'|
|00004390| 29 3b 0d 0a 20 7d 0d 0a | 7d 0d 0a 65 6c 73 65 20 |);.. }..|}..else |
|000043a0| 7b 0d 0a 20 69 66 20 28 | 20 69 73 46 6c 61 67 53 |{.. if (| isFlagS|
|000043b0| 65 74 28 37 33 29 20 29 | 20 7b 0d 0a 20 20 4d 65 |et(73) )| {.. Me|
|000043c0| 73 73 61 67 65 45 78 28 | 31 2c 20 24 4d 53 47 5f |ssageEx(|1, $MSG_|
|000043d0| 4d 45 53 53 41 47 45 2c | 20 24 53 45 43 54 49 4f |MESSAGE,| $SECTIO|
|000043e0| 4e 35 30 38 2c 20 27 5b | 37 32 5d 20 5b 37 33 5d |N508, '[|72] [73]|
|000043f0| 20 54 6f 20 64 69 73 61 | 62 6c 65 20 74 68 65 20 | To disa|ble the |
|00004400| 73 65 63 74 69 6f 6e 20 | 35 30 38 20 61 63 63 65 |section |508 acce|
|00004410| 73 73 69 62 69 6c 69 74 | 79 20 6d 65 73 73 61 67 |ssibilit|y messag|
|00004420| 65 73 2c 20 64 69 73 61 | 62 6c 65 20 66 6c 61 67 |es, disa|ble flag|
|00004430| 20 37 32 2e 20 54 6f 20 | 64 69 73 61 62 6c 65 20 | 72. To |disable |
|00004440| 74 68 69 73 20 6d 65 73 | 73 61 67 65 2c 20 64 69 |this mes|sage, di|
|00004450| 73 61 62 6c 65 20 66 6c | 61 67 20 37 33 2e 27 29 |sable fl|ag 73.')|
|00004460| 3b 0d 0a 20 7d 0d 0a 7d | 0d 0a 01 00 00 00 12 00 |;.. }..}|........|
|00004470| 00 00 0d 0a 72 75 6e 50 | 72 6f 67 72 61 6d 28 31 |....runP|rogram(1|
|00004480| 29 3b 0d 0a 01 00 00 00 | c5 1e 00 00 0d 0a 66 75 |);......|......fu|
|00004490| 6e 63 74 69 6f 6e 20 41 | 57 52 61 6e 67 65 43 68 |nction A|WRangeCh|
|000044a0| 65 63 6b 32 28 29 20 7b | 0d 0a 20 69 66 20 28 20 |eck2() {|.. if ( |
|000044b0| 69 73 46 6c 61 67 53 65 | 74 28 33 31 29 20 29 20 |isFlagSe|t(31) ) |
|000044c0| 7b 0d 0a 20 20 24 69 73 | 69 6e 72 61 6e 67 65 74 |{.. $is|inranget|
|000044d0| 61 67 3d 69 73 49 6e 52 | 61 6e 67 65 45 78 28 31 |ag=isInR|angeEx(1|
|000044e0| 2c 20 67 65 74 54 61 67 | 4e 61 6d 65 28 29 20 29 |, getTag|Name() )|
|000044f0| 3b 0d 0a 20 20 69 66 20 | 28 20 73 74 72 63 6d 70 |;.. if |( strcmp|
|00004500| 28 24 69 73 69 6e 72 61 | 6e 67 65 74 61 67 2c 20 |($isinra|ngetag, |
|00004510| 22 22 29 20 21 3d 20 30 | 20 29 20 7b 0d 0a 20 20 |"") != 0| ) {.. |
|00004520| 20 4d 65 73 73 61 67 65 | 45 78 28 31 2c 20 24 4d | Message|Ex(1, $M|
|00004530| 53 47 5f 4d 45 53 53 41 | 47 45 2c 20 24 53 54 59 |SG_MESSA|GE, $STY|
|00004540| 4c 45 2c 20 27 5b 33 31 | 5d 20 54 68 65 20 22 27 |LE, '[31|] The "'|
|00004550| 20 2b 20 67 65 74 54 61 | 67 4e 61 6d 65 28 29 20 | + getTa|gName() |
|00004560| 2b 20 27 22 20 74 61 67 | 20 77 61 73 20 6f 70 65 |+ '" tag| was ope|
|00004570| 6e 65 64 20 69 6e 20 61 | 6e 6f 74 68 65 72 20 22 |ned in a|nother "|
|00004580| 27 20 2b 20 67 65 74 54 | 61 67 4e 61 6d 65 28 29 |' + getT|agName()|
|00004590| 20 2b 20 27 22 20 74 61 | 67 20 28 77 68 69 63 68 | + '" ta|g (which|
|000045a0| 20 77 61 73 20 6f 70 65 | 6e 65 64 20 69 6e 20 6c | was ope|ned in l|
|000045b0| 69 6e 65 20 27 20 2b 20 | 74 6f 53 74 72 69 6e 67 |ine ' + |toString|
|000045c0| 28 24 69 73 69 6e 72 61 | 6e 67 65 65 78 6c 69 6e |($isinra|ngeexlin|
|000045d0| 65 29 20 2b 20 27 29 2e | 20 4e 6f 72 6d 61 6c 6c |e) + ').| Normall|
|000045e0| 79 20 74 68 69 73 20 64 | 6f 65 73 20 6e 6f 74 20 |y this d|oes not |
|000045f0| 63 61 75 73 65 20 61 6e | 79 20 70 72 6f 62 6c 65 |cause an|y proble|
|00004600| 6d 73 2c 20 62 75 74 20 | 73 6f 6d 65 20 6d 61 79 |ms, but |some may|
|00004610| 20 6e 6f 74 20 63 6f 6e | 73 69 64 65 72 20 69 74 | not con|sider it|
|00004620| 20 74 6f 20 62 65 20 67 | 6f 6f 64 20 73 74 79 6c | to be g|ood styl|
|00004630| 65 2e 27 29 3b 0d 0a 20 | 20 7d 0d 0a 20 7d 0d 0a |e.');.. | }.. }..|
|00004640| 7d 0d 0a 0d 0a 66 75 6e | 63 74 69 6f 6e 20 41 57 |}....fun|ction AW|
|00004650| 43 68 65 63 6b 49 6e 64 | 65 78 56 61 6c 75 65 28 |CheckInd|exValue(|
|00004660| 29 20 7b 0d 0a 20 24 76 | 61 6c 75 65 3d 67 65 74 |) {.. $v|alue=get|
|00004670| 41 74 74 56 61 6c 75 65 | 28 24 69 6e 64 65 78 29 |AttValue|($index)|
|00004680| 3b 0d 0a 20 69 66 20 28 | 20 69 73 46 6c 61 67 53 |;.. if (| isFlagS|
|00004690| 65 74 28 33 34 29 20 29 | 20 7b 0d 0a 20 20 69 66 |et(34) )| {.. if|
|000046a0| 20 28 20 63 68 65 63 6b | 53 74 72 69 6e 67 28 34 | ( check|String(4|
|000046b0| 2c 20 24 76 61 6c 75 65 | 29 20 29 20 7b 0d 0a 20 |, $value|) ) {.. |
|000046c0| 20 20 4d 65 73 73 61 67 | 65 28 31 2c 20 24 4d 53 | Messag|e(1, $MS|
|000046d0| 47 5f 57 41 52 4e 49 4e | 47 2c 20 22 5b 33 34 5d |G_WARNIN|G, "[34]|
|000046e0| 20 44 69 64 20 79 6f 75 | 20 66 6f 72 67 65 74 20 | Did you| forget |
|000046f0| 74 6f 20 73 70 65 63 69 | 66 79 20 61 20 70 72 6f |to speci|fy a pro|
|00004700| 74 6f 63 6f 6c 20 6c 69 | 6b 65 20 68 74 74 70 3a |tocol li|ke http:|
|00004710| 2f 2f 3f 22 2c 20 67 65 | 74 41 74 74 56 61 6c 75 |//?", ge|tAttValu|
|00004720| 65 4c 6f 63 61 74 69 6f | 6e 28 24 69 6e 64 65 78 |eLocatio|n($index|
|00004730| 29 29 3b 0d 0a 20 20 7d | 0d 0a 20 7d 0d 0a 20 69 |));.. }|.. }.. i|
|00004740| 66 20 28 20 69 73 46 6c | 61 67 53 65 74 28 35 31 |f ( isFl|agSet(51|
|00004750| 29 20 29 20 7b 0d 0a 20 | 20 69 66 20 28 20 63 68 |) ) {.. | if ( ch|
|00004760| 65 63 6b 53 74 72 69 6e | 67 28 32 30 34 38 2c 20 |eckStrin|g(2048, |
|00004770| 24 76 61 6c 75 65 29 20 | 29 20 7b 0d 0a 20 20 20 |$value) |) {.. |
|00004780| 69 66 20 28 20 28 73 74 | 72 6e 69 63 6d 70 28 24 |if ( (st|rnicmp($|
|00004790| 76 61 6c 75 65 2c 20 22 | 6a 61 76 61 73 63 72 69 |value, "|javascri|
|000047a0| 70 74 3a 22 2c 20 31 31 | 29 21 3d 30 29 20 26 26 |pt:", 11|)!=0) &&|
|000047b0| 20 28 73 74 72 6e 69 63 | 6d 70 28 24 76 61 6c 75 | (strnic|mp($valu|
|000047c0| 65 2c 20 22 6d 61 69 6c | 74 6f 3a 22 2c 20 37 29 |e, "mail|to:", 7)|
|000047d0| 21 3d 30 29 20 29 20 7b | 0d 0a 20 20 20 20 4d 65 |!=0) ) {|.. Me|
|000047e0| 73 73 61 67 65 28 31 2c | 20 24 4d 53 47 5f 57 41 |ssage(1,| $MSG_WA|
|000047f0| 52 4e 49 4e 47 2c 20 27 | 5b 35 31 5d 20 55 73 69 |RNING, '|[51] Usi|
|00004800| 6e 67 20 73 70 61 63 65 | 20 63 68 61 72 61 63 74 |ng space| charact|
|00004810| 65 72 73 20 69 6e 20 55 | 52 4c 73 20 6d 61 79 20 |ers in U|RLs may |
|00004820| 63 61 75 73 65 20 70 72 | 6f 62 6c 65 6d 73 2e 20 |cause pr|oblems. |
|00004830| 49 66 20 79 6f 75 20 6d | 75 73 74 20 75 73 65 20 |If you m|ust use |
|00004840| 73 70 61 63 65 73 20 69 | 6e 20 55 52 4c 73 2c 20 |spaces i|n URLs, |
|00004850| 74 68 65 6e 20 79 6f 75 | 20 73 68 6f 75 6c 64 20 |then you| should |
|00004860| 65 6e 63 6f 64 65 20 74 | 68 65 6d 20 61 73 20 22 |encode t|hem as "|
|00004870| 25 32 30 22 20 28 77 69 | 74 68 6f 75 74 20 74 68 |%20" (wi|thout th|
|00004880| 65 20 71 75 6f 74 65 73 | 29 2e 20 48 6f 77 65 76 |e quotes|). Howev|
|00004890| 65 72 2c 20 74 72 79 20 | 74 6f 20 61 76 6f 69 64 |er, try |to avoid|
|000048a0| 20 73 70 61 63 65 73 20 | 69 6e 20 55 52 4c 73 20 | spaces |in URLs |
|000048b0| 77 68 65 6e 65 76 65 72 | 20 70 6f 73 73 69 62 6c |whenever| possibl|
|000048c0| 65 20 61 6e 64 20 63 6f | 6e 73 69 64 65 72 20 75 |e and co|nsider u|
|000048d0| 73 69 6e 67 20 74 68 65 | 20 75 6e 64 65 72 73 63 |sing the| undersc|
|000048e0| 6f 72 65 20 63 68 61 72 | 61 63 74 65 72 20 28 5f |ore char|acter (_|
|000048f0| 29 20 69 6e 73 74 65 61 | 64 2e 27 2c 20 67 65 74 |) instea|d.', get|
|00004900| 41 74 74 56 61 6c 75 65 | 4c 6f 63 61 74 69 6f 6e |AttValue|Location|
|00004910| 28 24 69 6e 64 65 78 29 | 29 3b 0d 0a 20 20 20 7d |($index)|);.. }|
|00004920| 0d 0a 20 20 7d 0d 0a 20 | 7d 0d 0a 20 69 66 20 28 |.. }.. |}.. if (|
|00004930| 20 69 73 46 6c 61 67 53 | 65 74 28 35 32 29 20 29 | isFlagS|et(52) )|
|00004940| 20 7b 0d 0a 20 20 69 66 | 20 28 20 63 68 65 63 6b | {.. if| ( check|
|00004950| 53 74 72 69 6e 67 28 34 | 30 39 36 2c 20 24 76 61 |String(4|096, $va|
|00004960| 6c 75 65 29 20 29 20 7b | 0d 0a 20 20 20 4d 65 73 |lue) ) {|.. Mes|
|00004970| 73 61 67 65 28 31 2c 20 | 24 4d 53 47 5f 57 41 52 |sage(1, |$MSG_WAR|
|00004980| 4e 49 4e 47 2c 20 22 5b | 35 32 5d 20 54 68 65 72 |NING, "[|52] Ther|
|00004990| 65 20 61 70 70 65 61 72 | 73 20 74 6f 20 62 65 20 |e appear|s to be |
|000049a0| 61 20 55 52 4c 20 65 6e | 63 6f 64 69 6e 67 20 70 |a URL en|coding p|
|000049b0| 72 6f 62 6c 65 6d 20 77 | 69 74 68 20 74 68 69 73 |roblem w|ith this|
|000049c0| 20 55 52 4c 2e 20 57 68 | 65 6e 20 55 52 4c 20 65 | URL. Wh|en URL e|
|000049d0| 6e 63 6f 64 69 6e 67 2c | 20 74 68 65 20 27 25 27 |ncoding,| the '%'|
|000049e0| 20 63 68 61 72 61 63 74 | 65 72 20 6d 75 73 74 20 | charact|er must |
|000049f0| 62 65 20 66 6f 6c 6c 6f | 77 65 64 20 62 79 20 61 |be follo|wed by a|
|00004a00| 20 74 77 6f 20 64 69 67 | 69 74 20 68 65 78 61 64 | two dig|it hexad|
|00004a10| 65 63 69 6d 61 6c 20 6e | 75 6d 62 65 72 2e 20 49 |ecimal n|umber. I|
|00004a20| 6e 20 74 68 69 73 20 55 | 52 4c 2c 20 74 68 65 20 |n this U|RL, the |
|00004a30| 27 25 27 20 63 68 61 72 | 61 63 74 65 72 20 61 70 |'%' char|acter ap|
|00004a40| 70 65 61 72 73 20 61 74 | 20 6c 65 61 73 74 20 6f |pears at| least o|
|00004a50| 6e 63 65 20 77 69 74 68 | 20 61 6e 20 69 6e 76 61 |nce with| an inva|
|00004a60| 6c 69 64 20 68 65 78 61 | 64 65 63 69 6d 61 6c 20 |lid hexa|decimal |
|00004a70| 76 61 6c 75 65 2e 20 54 | 6f 20 61 63 74 75 61 6c |value. T|o actual|
|00004a80| 6c 79 20 65 6e 63 6f 64 | 65 20 61 20 27 25 27 20 |ly encod|e a '%' |
|00004a90| 63 68 61 72 61 63 74 65 | 72 2c 20 75 73 65 20 22 |characte|r, use "|
|00004aa0| 2b 27 22 25 32 35 22 20 | 77 69 74 68 6f 75 74 20 |+'"%25" |without |
|00004ab0| 74 68 65 20 71 75 6f 74 | 65 73 2e 27 2c 20 67 65 |the quot|es.', ge|
|00004ac0| 74 41 74 74 56 61 6c 75 | 65 4c 6f 63 61 74 69 6f |tAttValu|eLocatio|
|00004ad0| 6e 28 24 69 6e 64 65 78 | 29 29 3b 0d 0a 20 20 7d |n($index|));.. }|
|00004ae0| 0d 0a 20 7d 0d 0a 7d 0d | 0a 0d 0a 66 75 6e 63 74 |.. }..}.|...funct|
|00004af0| 69 6f 6e 20 41 57 43 68 | 65 63 6b 49 44 28 29 20 |ion AWCh|eckID() |
|00004b00| 7b 0d 0a 20 23 63 68 65 | 63 6b 69 64 3d 31 3b 0d |{.. #che|ckid=1;.|
|00004b10| 0a 0d 0a 20 69 66 20 28 | 20 63 68 65 63 6b 53 74 |... if (| checkSt|
|00004b20| 72 69 6e 67 28 33 32 2c | 20 24 76 61 6c 75 65 29 |ring(32,| $value)|
|00004b30| 20 29 20 7b 0d 0a 20 20 | 23 63 68 65 63 6b 69 64 | ) {.. |#checkid|
|00004b40| 3d 30 3b 0d 0a 20 7d 0d | 0a 0d 0a 20 69 66 20 28 |=0;.. }.|... if (|
|00004b50| 20 24 63 68 65 63 6b 69 | 64 20 29 20 7b 0d 0a 20 | $checki|d ) {.. |
|00004b60| 20 23 65 72 72 6f 72 3d | 30 3b 20 0d 0a 20 20 66 | #error=|0; .. f|
|00004b70| 6f 72 20 28 20 24 69 3d | 30 20 3b 20 28 24 65 72 |or ( $i=|0 ; ($er|
|00004b80| 72 6f 72 3d 3d 30 29 20 | 26 26 20 28 24 69 3c 24 |ror==0) |&& ($i<$|
|00004b90| 6e 75 6d 69 64 61 74 74 | 75 73 65 64 29 20 3b 20 |numidatt|used) ; |
|00004ba0| 24 69 2b 2b 20 29 20 7b | 0d 0a 20 20 20 69 66 20 |$i++ ) {|.. if |
|00004bb0| 28 20 73 74 72 69 63 6d | 70 28 24 76 61 6c 75 65 |( stricm|p($value|
|00004bc0| 2c 20 24 69 64 61 74 74 | 75 73 65 64 61 72 72 61 |, $idatt|usedarra|
|00004bd0| 79 5b 24 69 5d 29 3d 3d | 30 20 29 20 7b 0d 0a 20 |y[$i])==|0 ) {.. |
|00004be0| 20 20 20 24 65 72 72 6f | 72 3d 31 3b 0d 0a 20 20 | $erro|r=1;.. |
|00004bf0| 20 20 69 66 20 28 20 24 | 69 64 74 79 70 65 3d 3d | if ( $|idtype==|
|00004c00| 32 20 29 20 7b 0d 0a 20 | 20 20 20 20 4d 65 73 73 |2 ) {.. | Mess|
|00004c10| 61 67 65 28 31 2c 20 24 | 4d 53 47 5f 45 52 52 4f |age(1, $|MSG_ERRO|
|00004c20| 52 2c 20 27 54 68 65 20 | 22 69 64 22 20 61 74 74 |R, 'The |"id" att|
|00004c30| 72 69 62 75 74 65 20 76 | 61 6c 75 65 20 22 27 20 |ribute v|alue "' |
|00004c40| 2b 20 24 76 61 6c 75 65 | 20 2b 20 27 22 20 68 61 |+ $value| + '" ha|
|00004c50| 73 20 61 6c 72 65 61 64 | 79 20 62 65 65 6e 20 75 |s alread|y been u|
|00004c60| 73 65 64 20 69 6e 20 74 | 68 69 73 20 64 6f 63 75 |sed in t|his docu|
|00004c70| 6d 65 6e 74 2e 20 41 20 | 74 61 67 27 20 2b 20 22 |ment. A |tag' + "|
|00004c80| 27 22 20 2b 20 27 73 20 | 22 69 64 22 20 76 61 6c |'" + 's |"id" val|
|00004c90| 75 65 20 6d 75 73 74 20 | 62 65 20 75 6e 69 71 75 |ue must |be uniqu|
|00004ca0| 65 20 77 69 74 68 69 6e | 20 74 68 65 20 64 6f 63 |e within| the doc|
|00004cb0| 75 6d 65 6e 74 2e 20 41 | 20 74 61 67 20 63 61 6e |ument. A| tag can|
|00004cc0| 6e 6f 74 20 68 61 76 65 | 20 61 6e 20 22 69 64 22 |not have| an "id"|
|00004cd0| 20 61 74 74 72 69 62 75 | 74 65 20 74 68 61 74 20 | attribu|te that |
|00004ce0| 68 61 73 20 61 6c 72 65 | 61 64 79 20 62 65 65 6e |has alre|ady been|
|00004cf0| 20 75 73 65 64 2e 27 2c | 20 67 65 74 41 74 74 56 | used.',| getAttV|
|00004d00| 61 6c 75 65 4c 6f 63 61 | 74 69 6f 6e 28 24 69 6e |alueLoca|tion($in|
|00004d10| 64 65 78 29 29 3b 0d 0a | 20 20 20 20 7d 0d 0a 20 |dex));..| }.. |
|00004d20| 20 20 20 65 6c 73 65 20 | 7b 0d 0a 20 20 20 20 20 | else |{.. |
|00004d30| 4d 65 73 73 61 67 65 28 | 31 2c 20 24 4d 53 47 5f |Message(|1, $MSG_|
|00004d40| 45 52 52 4f 52 2c 20 27 | 54 68 65 20 22 69 64 22 |ERROR, '|The "id"|
|00004d50| 20 6f 72 20 22 6e 61 6d | 65 22 20 61 74 74 72 69 | or "nam|e" attri|
|00004d60| 62 75 74 65 20 76 61 6c | 75 65 20 22 27 20 2b 20 |bute val|ue "' + |
|00004d70| 24 76 61 6c 75 65 20 2b | 20 27 22 20 68 61 73 20 |$value +| '" has |
|00004d80| 61 6c 72 65 61 64 79 20 | 62 65 65 6e 20 75 73 65 |already |been use|
|00004d90| 64 20 69 6e 20 74 68 69 | 73 20 64 6f 63 75 6d 65 |d in thi|s docume|
|00004da0| 6e 74 2e 20 41 20 74 61 | 67 27 20 2b 20 22 27 22 |nt. A ta|g' + "'"|
|00004db0| 20 2b 20 27 73 20 22 69 | 64 22 20 6f 72 20 22 6e | + 's "i|d" or "n|
|00004dc0| 61 6d 65 22 20 76 61 6c | 75 65 20 28 22 6e 61 6d |ame" val|ue ("nam|
|00004dd0| 65 22 20 6f 6e 6c 79 20 | 66 6f 72 20 63 65 72 74 |e" only |for cert|
|00004de0| 61 69 6e 20 65 6c 65 6d | 65 6e 74 73 20 73 75 63 |ain elem|ents suc|
|00004df0| 68 20 61 73 20 22 61 22 | 29 20 6d 75 73 74 20 62 |h as "a"|) must b|
|00004e00| 65 20 75 6e 69 71 75 65 | 20 77 69 74 68 69 6e 20 |e unique| within |
|00004e10| 74 68 65 20 64 6f 63 75 | 6d 65 6e 74 2e 20 41 20 |the docu|ment. A |
|00004e20| 74 61 67 20 63 61 6e 6e | 6f 74 20 68 61 76 65 20 |tag cann|ot have |
|00004e30| 61 6e 20 22 69 64 22 20 | 6f 72 2c 20 77 69 74 68 |an "id" |or, with|
|00004e40| 20 63 65 72 74 61 69 6e | 20 65 6c 65 6d 65 6e 74 | certain| element|
|00004e50| 73 2c 20 61 20 22 6e 61 | 6d 65 22 20 61 74 74 72 |s, a "na|me" attr|
|00004e60| 69 62 75 74 65 20 76 61 | 6c 75 65 20 74 68 61 74 |ibute va|lue that|
|00004e70| 20 68 61 73 20 61 6c 72 | 65 61 64 79 20 62 65 65 | has alr|eady bee|
|00004e80| 6e 20 75 73 65 64 2e 20 | 4e 6f 74 65 20 74 68 61 |n used. |Note tha|
|00004e90| 74 20 74 68 65 20 22 69 | 64 22 20 76 61 6c 75 65 |t the "i|d" value|
|00004ea0| 73 20 61 72 65 20 6e 6f | 74 20 63 61 73 65 20 73 |s are no|t case s|
|00004eb0| 65 6e 73 69 74 69 76 65 | 20 28 65 78 63 65 70 74 |ensitive| (except|
|00004ec0| 20 77 68 65 6e 20 75 73 | 65 64 20 74 6f 20 6c 69 | when us|ed to li|
|00004ed0| 6e 6b 20 74 6f 20 61 6e | 20 61 6e 63 68 6f 72 29 |nk to an| anchor)|
|00004ee0| 20 61 6e 64 20 74 68 61 | 74 20 22 69 64 22 20 61 | and tha|t "id" a|
|00004ef0| 6e 64 20 73 6f 6d 65 20 | 22 6e 61 6d 65 22 20 61 |nd some |"name" a|
|00004f00| 74 74 72 69 62 75 74 65 | 20 76 61 6c 75 65 73 20 |ttribute| values |
|00004f10| 73 68 61 72 65 20 74 68 | 65 20 73 61 6d 65 20 6e |share th|e same n|
|00004f20| 61 6d 65 73 70 61 63 65 | 2e 27 2c 20 67 65 74 41 |amespace|.', getA|
|00004f30| 74 74 56 61 6c 75 65 4c | 6f 63 61 74 69 6f 6e 28 |ttValueL|ocation(|
|00004f40| 24 69 6e 64 65 78 29 29 | 3b 0d 0a 20 20 20 20 7d |$index))|;.. }|
|00004f50| 0d 0a 20 20 20 7d 0d 0a | 20 20 7d 0d 0a 0d 0a 20 |.. }..| }.... |
|00004f60| 20 69 66 20 28 20 24 65 | 72 72 6f 72 3d 3d 30 20 | if ( $e|rror==0 |
|00004f70| 29 20 7b 0d 0a 20 20 20 | 24 69 64 61 74 74 75 73 |) {.. |$idattus|
|00004f80| 65 64 74 79 70 65 61 72 | 72 61 79 5b 24 6e 75 6d |edtypear|ray[$num|
|00004f90| 69 64 61 74 74 75 73 65 | 64 5d 3d 24 69 64 74 79 |idattuse|d]=$idty|
|00004fa0| 70 65 3b 0d 0a 20 20 20 | 24 69 64 61 74 74 75 73 |pe;.. |$idattus|
|00004fb0| 65 64 61 72 72 61 79 5b | 24 6e 75 6d 69 64 61 74 |edarray[|$numidat|
|00004fc0| 74 75 73 65 64 5d 3d 24 | 76 61 6c 75 65 3b 0d 0a |tused]=$|value;..|
|00004fd0| 20 20 20 24 6e 75 6d 69 | 64 61 74 74 75 73 65 64 | $numi|dattused|
|00004fe0| 2b 2b 3b 0d 0a 20 20 7d | 0d 0a 20 7d 0d 0a 7d 0d |++;.. }|.. }..}.|
|00004ff0| 0a 0d 0a 66 75 6e 63 74 | 69 6f 6e 20 41 57 52 61 |...funct|ion AWRa|
|00005000| 6e 67 65 43 68 65 63 6b | 28 29 20 7b 0d 0a 20 40 |ngeCheck|() {.. @|
|00005010| 41 57 52 61 6e 67 65 43 | 68 65 63 6b 33 28 29 3b |AWRangeC|heck3();|
|00005020| 0d 0a 20 23 64 69 73 70 | 6c 61 79 3d 30 3b 0d 0a |.. #disp|lay=0;..|
|00005030| 0d 0a 20 69 66 20 28 20 | 69 73 46 6c 61 67 53 65 |.. if ( |isFlagSe|
|00005040| 74 28 32 38 29 20 29 20 | 7b 0d 0a 20 20 24 69 73 |t(28) ) |{.. $is|
|00005050| 69 6e 72 61 6e 67 65 74 | 61 67 3d 69 73 49 6e 52 |inranget|ag=isInR|
|00005060| 61 6e 67 65 45 78 28 31 | 2c 20 22 74 74 22 2c 20 |angeEx(1|, "tt", |
|00005070| 22 69 22 2c 20 22 62 22 | 2c 20 22 62 69 67 22 2c |"i", "b"|, "big",|
|00005080| 20 22 73 6d 61 6c 6c 22 | 2c 20 22 65 6d 22 2c 20 | "small"|, "em", |
|00005090| 22 73 74 72 6f 6e 67 22 | 2c 20 22 64 66 6e 22 2c |"strong"|, "dfn",|
|000050a0| 20 22 63 6f 64 65 22 2c | 20 22 73 61 6d 70 22 2c | "code",| "samp",|
|000050b0| 20 22 6b 62 64 22 2c 20 | 22 76 61 72 22 2c 20 22 | "kbd", |"var", "|
|000050c0| 63 69 74 65 22 2c 20 22 | 61 62 62 72 22 2c 20 22 |cite", "|abbr", "|
|000050d0| 61 63 72 6f 6e 79 6d 22 | 2c 20 22 61 22 2c 20 22 |acronym"|, "a", "|
|000050e0| 71 22 2c 20 22 73 75 62 | 22 2c 20 22 73 75 70 22 |q", "sub|", "sup"|
|000050f0| 2c 20 22 73 70 61 6e 22 | 2c 20 22 62 64 6f 22 2c |, "span"|, "bdo",|
|00005100| 20 22 73 65 6c 65 63 74 | 22 2c 20 22 74 65 78 74 | "select|", "text|
|00005110| 61 72 65 61 22 2c 20 22 | 6c 61 62 65 6c 22 2c 20 |area", "|label", |
|00005120| 22 73 22 2c 20 22 73 74 | 72 69 6b 65 22 2c 20 22 |"s", "st|rike", "|
|00005130| 75 22 2c 20 22 72 75 62 | 79 22 29 3b 0d 0a 20 20 |u", "rub|y");.. |
|00005140| 69 66 20 28 20 73 74 72 | 63 6d 70 28 24 69 73 69 |if ( str|cmp($isi|
|00005150| 6e 72 61 6e 67 65 74 61 | 67 2c 22 22 29 20 21 3d |nrangeta|g,"") !=|
|00005160| 20 30 20 29 20 7b 0d 0a | 20 20 20 23 64 69 73 70 | 0 ) {..| #disp|
|00005170| 6c 61 79 3d 31 3b 0d 0a | 20 20 20 23 66 6c 61 67 |lay=1;..| #flag|
|00005180| 3d 32 38 3b 0d 0a 20 20 | 7d 0d 0a 20 7d 0d 0a 0d |=28;.. |}.. }...|
|00005190| 0a 20 69 66 20 28 20 69 | 73 46 6c 61 67 53 65 74 |. if ( i|sFlagSet|
|000051a0| 28 33 30 29 20 26 26 20 | 28 24 64 69 73 70 6c 61 |(30) && |($displa|
|000051b0| 79 3d 3d 30 29 20 29 20 | 7b 0d 0a 20 20 24 69 73 |y==0) ) |{.. $is|
|000051c0| 69 6e 72 61 6e 67 65 74 | 61 67 3d 69 73 49 6e 52 |inranget|ag=isInR|
|000051d0| 61 6e 67 65 45 78 28 31 | 2c 20 22 66 6f 6e 74 22 |angeEx(1|, "font"|
|000051e0| 29 3b 0d 0a 20 20 69 66 | 20 28 20 73 74 72 63 6d |);.. if| ( strcm|
|000051f0| 70 28 24 69 73 69 6e 72 | 61 6e 67 65 74 61 67 2c |p($isinr|angetag,|
|00005200| 22 22 29 20 21 3d 20 30 | 20 29 20 7b 0d 0a 20 20 |"") != 0| ) {.. |
|00005210| 20 23 64 69 73 70 6c 61 | 79 3d 31 3b 0d 0a 20 20 | #displa|y=1;.. |
|00005220| 20 23 66 6c 61 67 3d 33 | 30 3b 0d 0a 20 20 7d 0d | #flag=3|0;.. }.|
|00005230| 0a 20 7d 0d 0a 0d 0a 20 | 69 66 20 28 20 24 64 69 |. }.... |if ( $di|
|00005240| 73 70 6c 61 79 3d 3d 31 | 20 29 20 7b 0d 0a 20 20 |splay==1| ) {.. |
|00005250| 24 6d 73 67 3d 27 5b 27 | 20 2b 20 74 6f 53 74 72 |$msg='['| + toStr|
|00005260| 69 6e 67 28 24 66 6c 61 | 67 29 20 2b 20 27 5d 20 |ing($fla|g) + '] |
|00005270| 54 68 65 20 22 27 20 2b | 20 67 65 74 54 61 67 4e |The "' +| getTagN|
|00005280| 61 6d 65 28 29 20 2b 20 | 27 22 20 74 61 67 20 69 |ame() + |'" tag i|
|00005290| 73 20 63 6f 6e 74 61 69 | 6e 65 64 20 69 6e 20 61 |s contai|ned in a|
|000052a0| 20 22 27 20 2b 20 24 69 | 73 69 6e 72 61 6e 67 65 | "' + $i|sinrange|
|000052b0| 74 61 67 20 2b 20 27 22 | 20 74 61 67 20 28 77 68 |tag + '"| tag (wh|
|000052c0| 69 63 68 20 77 61 73 20 | 6f 70 65 6e 65 64 20 69 |ich was |opened i|
|000052d0| 6e 20 6c 69 6e 65 20 27 | 20 2b 20 74 6f 53 74 72 |n line '| + toStr|
|000052e0| 69 6e 67 28 24 69 73 69 | 6e 72 61 6e 67 65 65 78 |ing($isi|nrangeex|
|000052f0| 6c 69 6e 65 29 20 2b 20 | 27 29 2e 20 54 68 69 73 |line) + |'). This|
|00005300| 20 6d 61 79 20 62 65 20 | 61 63 63 65 70 74 61 62 | may be |acceptab|
|00005310| 6c 65 20 66 6f 72 20 73 | 6f 6d 65 20 62 72 6f 77 |le for s|ome brow|
|00005320| 73 65 72 73 20 28 73 75 | 63 68 20 61 73 20 49 6e |sers (su|ch as In|
|00005330| 74 65 72 6e 65 74 20 45 | 78 70 6c 6f 72 65 72 20 |ternet E|xplorer |
|00005340| 61 6e 64 20 4e 65 74 73 | 63 61 70 65 29 2c 20 62 |and Nets|cape), b|
|00005350| 75 74 20 48 54 4d 4c 20 | 34 2e 30 31 20 64 6f 65 |ut HTML |4.01 doe|
|00005360| 73 20 6e 6f 74 20 61 6c | 6c 6f 77 20 74 68 69 73 |s not al|low this|
|00005370| 2e 20 49 74 20 6d 61 79 | 20 61 6c 73 6f 20 63 61 |. It may| also ca|
|00005380| 75 73 65 20 70 72 6f 62 | 6c 65 6d 73 20 6f 72 20 |use prob|lems or |
|00005390| 75 6e 65 78 70 65 63 74 | 65 64 20 70 61 67 65 20 |unexpect|ed page |
|000053a0| 72 65 6e 64 65 72 69 6e | 67 20 66 6f 72 20 6d 6f |renderin|g for mo|
|000053b0| 72 65 20 63 6f 6d 70 6c | 69 61 6e 74 20 62 72 6f |re compl|iant bro|
|000053c0| 77 73 65 72 73 20 73 75 | 63 68 20 61 73 20 4f 70 |wsers su|ch as Op|
|000053d0| 65 72 61 2e 20 50 6f 73 | 73 69 62 6c 65 20 73 6f |era. Pos|sible so|
|000053e0| 6c 75 74 69 6f 6e 73 3a | 20 31 2e 20 43 6c 6f 73 |lutions:| 1. Clos|
|000053f0| 65 20 74 68 65 20 22 27 | 20 2b 20 24 69 73 69 6e |e the "'| + $isin|
|00005400| 72 61 6e 67 65 74 61 67 | 20 2b 20 27 22 20 74 61 |rangetag| + '" ta|
|00005410| 67 20 62 65 66 6f 72 65 | 20 75 73 69 6e 67 20 74 |g before| using t|
|00005420| 68 65 20 22 27 20 2b 20 | 67 65 74 54 61 67 4e 61 |he "' + |getTagNa|
|00005430| 6d 65 28 29 20 2b 20 27 | 22 20 74 61 67 2e 20 44 |me() + '|" tag. D|
|00005440| 65 70 65 6e 64 69 6e 67 | 20 6f 6e 20 74 68 65 20 |epending| on the |
|00005450| 63 6f 72 72 65 63 74 20 | 75 73 61 67 65 20 6f 66 |correct |usage of|
|00005460| 20 74 68 65 20 63 6c 6f | 73 65 64 20 74 61 67 2c | the clo|sed tag,|
|00005470| 20 79 6f 75 20 6d 61 79 | 20 62 65 20 61 62 6c 65 | you may| be able|
|00005480| 20 74 6f 20 72 65 6f 70 | 65 6e 20 69 74 20 61 66 | to reop|en it af|
|00005490| 74 65 72 20 75 73 69 6e | 67 20 74 68 65 20 22 27 |ter usin|g the "'|
|000054a0| 20 2b 20 67 65 74 54 61 | 67 4e 61 6d 65 28 29 20 | + getTa|gName() |
|000054b0| 2b 20 27 22 20 74 61 67 | 3b 20 32 2e 20 45 6c 69 |+ '" tag|; 2. Eli|
|000054c0| 6d 69 6e 61 74 65 20 74 | 68 65 20 22 27 20 2b 20 |minate t|he "' + |
|000054d0| 67 65 74 54 61 67 4e 61 | 6d 65 28 29 20 2b 20 27 |getTagNa|me() + '|
|000054e0| 22 20 74 61 67 3b 20 6f | 72 20 33 2e 20 52 65 6f |" tag; o|r 3. Reo|
|000054f0| 72 64 65 72 20 74 68 65 | 20 22 27 20 2b 20 67 65 |rder the| "' + ge|
|00005500| 74 54 61 67 4e 61 6d 65 | 28 29 20 2b 20 27 22 20 |tTagName|() + '" |
|00005510| 61 6e 64 20 22 27 20 2b | 20 24 69 73 69 6e 72 61 |and "' +| $isinra|
|00005520| 6e 67 65 74 61 67 20 2b | 20 27 22 20 74 61 67 73 |ngetag +| '" tags|
|00005530| 2e 27 3b 0d 0a 20 20 4d | 65 73 73 61 67 65 28 31 |.';.. M|essage(1|
|00005540| 2c 20 24 4d 53 47 5f 57 | 41 52 4e 49 4e 47 2c 20 |, $MSG_W|ARNING, |
|00005550| 24 6d 73 67 29 3b 0d 0a | 20 7d 0d 0a 7d 0d 0a 0d |$msg);..| }..}...|
|00005560| 0a 66 75 6e 63 74 69 6f | 6e 20 41 57 52 61 6e 67 |.functio|n AWRang|
|00005570| 65 43 68 65 63 6b 33 28 | 29 20 7b 0d 0a 20 23 64 |eCheck3(|) {.. #d|
|00005580| 69 73 70 6c 61 79 3d 30 | 3b 0d 0a 0d 0a 20 69 66 |isplay=0|;.... if|
|00005590| 20 28 20 69 73 46 6c 61 | 67 53 65 74 28 35 35 29 | ( isFla|gSet(55)|
|000055a0| 20 29 20 7b 0d 0a 20 20 | 24 69 73 69 6e 72 61 6e | ) {.. |$isinran|
|000055b0| 67 65 74 61 67 3d 69 73 | 49 6e 52 61 6e 67 65 45 |getag=is|InRangeE|
|000055c0| 78 28 31 2c 20 22 68 31 | 22 2c 20 22 68 32 22 2c |x(1, "h1|", "h2",|
|000055d0| 20 22 68 33 22 2c 20 22 | 68 34 22 2c 20 22 68 35 | "h3", "|h4", "h5|
|000055e0| 22 2c 20 22 68 36 22 29 | 3b 0d 0a 20 20 69 66 20 |", "h6")|;.. if |
|000055f0| 28 20 73 74 72 63 6d 70 | 28 24 69 73 69 6e 72 61 |( strcmp|($isinra|
|00005600| 6e 67 65 74 61 67 2c 22 | 22 29 20 21 3d 20 30 20 |ngetag,"|") != 0 |
|00005610| 29 20 7b 0d 0a 20 20 20 | 23 64 69 73 70 6c 61 79 |) {.. |#display|
|00005620| 3d 31 3b 0d 0a 20 20 20 | 23 66 6c 61 67 3d 35 35 |=1;.. |#flag=55|
|00005630| 3b 0d 0a 20 20 7d 0d 0a | 20 7d 0d 0a 0d 0a 20 69 |;.. }..| }.... i|
|00005640| 66 20 28 20 24 64 69 73 | 70 6c 61 79 3d 3d 31 20 |f ( $dis|play==1 |
|00005650| 29 20 7b 0d 0a 20 20 24 | 6d 73 67 3d 27 5b 27 20 |) {.. $|msg='[' |
|00005660| 2b 20 74 6f 53 74 72 69 | 6e 67 28 24 66 6c 61 67 |+ toStri|ng($flag|
|00005670| 29 20 2b 20 27 5d 20 54 | 68 65 20 22 27 20 2b 20 |) + '] T|he "' + |
|00005680| 67 65 74 54 61 67 4e 61 | 6d 65 28 29 20 2b 20 27 |getTagNa|me() + '|
|00005690| 22 20 74 61 67 20 69 73 | 20 63 6f 6e 74 61 69 6e |" tag is| contain|
|000056a0| 65 64 20 69 6e 20 61 20 | 22 27 20 2b 20 24 69 73 |ed in a |"' + $is|
|000056b0| 69 6e 72 61 6e 67 65 74 | 61 67 20 2b 20 27 22 20 |inranget|ag + '" |
|000056c0| 74 61 67 20 28 77 68 69 | 63 68 20 77 61 73 20 6f |tag (whi|ch was o|
|000056d0| 70 65 6e 65 64 20 69 6e | 20 6c 69 6e 65 20 27 20 |pened in| line ' |
|000056e0| 2b 20 74 6f 53 74 72 69 | 6e 67 28 24 69 73 69 6e |+ toStri|ng($isin|
|000056f0| 72 61 6e 67 65 65 78 6c | 69 6e 65 29 20 2b 20 27 |rangeexl|ine) + '|
|00005700| 29 2e 20 54 68 69 73 20 | 6d 61 79 20 62 65 20 61 |). This |may be a|
|00005710| 63 63 65 70 74 61 62 6c | 65 20 66 6f 72 20 73 6f |cceptabl|e for so|
|00005720| 6d 65 20 62 72 6f 77 73 | 65 72 73 20 28 73 75 63 |me brows|ers (suc|
|00005730| 68 20 61 73 20 49 6e 74 | 65 72 6e 65 74 20 45 78 |h as Int|ernet Ex|
|00005740| 70 6c 6f 72 65 72 20 61 | 6e 64 20 4e 65 74 73 63 |plorer a|nd Netsc|
|00005750| 61 70 65 29 2c 20 62 75 | 74 20 48 54 4d 4c 20 34 |ape), bu|t HTML 4|
|00005760| 2e 30 31 20 64 6f 65 73 | 20 6e 6f 74 20 61 6c 6c |.01 does| not all|
|00005770| 6f 77 20 74 68 69 73 2e | 20 49 74 20 6d 61 79 20 |ow this.| It may |
|00005780| 61 6c 73 6f 20 63 61 75 | 73 65 20 70 72 6f 62 6c |also cau|se probl|
|00005790| 65 6d 73 20 6f 72 20 75 | 6e 65 78 70 65 63 74 65 |ems or u|nexpecte|
|000057a0| 64 20 70 61 67 65 20 72 | 65 6e 64 65 72 69 6e 67 |d page r|endering|
|000057b0| 20 66 6f 72 20 6d 6f 72 | 65 20 63 6f 6d 70 6c 69 | for mor|e compli|
|000057c0| 61 6e 74 20 62 72 6f 77 | 73 65 72 73 20 73 75 63 |ant brow|sers suc|
|000057d0| 68 20 61 73 20 4f 70 65 | 72 61 2e 20 50 6f 73 73 |h as Ope|ra. Poss|
|000057e0| 69 62 6c 65 20 73 6f 6c | 75 74 69 6f 6e 73 3a 20 |ible sol|utions: |
|000057f0| 31 2e 20 43 6c 6f 73 65 | 20 74 68 65 20 22 27 20 |1. Close| the "' |
|00005800| 2b 20 24 69 73 69 6e 72 | 61 6e 67 65 74 61 67 20 |+ $isinr|angetag |
|00005810| 2b 20 27 22 20 74 61 67 | 20 62 65 66 6f 72 65 20 |+ '" tag| before |
|00005820| 75 73 69 6e 67 20 74 68 | 65 20 22 27 20 2b 20 67 |using th|e "' + g|
|00005830| 65 74 54 61 67 4e 61 6d | 65 28 29 20 2b 20 27 22 |etTagNam|e() + '"|
|00005840| 20 74 61 67 2e 20 44 65 | 70 65 6e 64 69 6e 67 20 | tag. De|pending |
|00005850| 6f 6e 20 74 68 65 20 63 | 6f 72 72 65 63 74 20 75 |on the c|orrect u|
|00005860| 73 61 67 65 20 6f 66 20 | 74 68 65 20 63 6c 6f 73 |sage of |the clos|
|00005870| 65 64 20 74 61 67 2c 20 | 79 6f 75 20 6d 61 79 20 |ed tag, |you may |
|00005880| 62 65 20 61 62 6c 65 20 | 74 6f 20 72 65 6f 70 65 |be able |to reope|
|00005890| 6e 20 69 74 20 61 66 74 | 65 72 20 75 73 69 6e 67 |n it aft|er using|
|000058a0| 20 74 68 65 20 22 27 20 | 2b 20 67 65 74 54 61 67 | the "' |+ getTag|
|000058b0| 4e 61 6d 65 28 29 20 2b | 20 27 22 20 74 61 67 3b |Name() +| '" tag;|
|000058c0| 20 32 2e 20 45 6c 69 6d | 69 6e 61 74 65 20 74 68 | 2. Elim|inate th|
|000058d0| 65 20 22 27 20 2b 20 67 | 65 74 54 61 67 4e 61 6d |e "' + g|etTagNam|
|000058e0| 65 28 29 20 2b 20 27 22 | 20 74 61 67 3b 20 6f 72 |e() + '"| tag; or|
|000058f0| 20 33 2e 20 52 65 6f 72 | 64 65 72 20 74 68 65 20 | 3. Reor|der the |
|00005900| 22 27 20 2b 20 67 65 74 | 54 61 67 4e 61 6d 65 28 |"' + get|TagName(|
|00005910| 29 20 2b 20 27 22 20 61 | 6e 64 20 22 27 20 2b 20 |) + '" a|nd "' + |
|00005920| 24 69 73 69 6e 72 61 6e | 67 65 74 61 67 20 2b 20 |$isinran|getag + |
|00005930| 27 22 20 74 61 67 73 2e | 27 3b 0d 0a 20 20 4d 65 |'" tags.|';.. Me|
|00005940| 73 73 61 67 65 28 31 2c | 20 24 4d 53 47 5f 57 41 |ssage(1,| $MSG_WA|
|00005950| 52 4e 49 4e 47 2c 20 24 | 6d 73 67 29 3b 0d 0a 20 |RNING, $|msg);.. |
|00005960| 7d 0d 0a 7d 0d 0a 0d 0a | 66 75 6e 63 74 69 6f 6e |}..}....|function|
|00005970| 20 41 57 43 68 65 63 6b | 49 6e 74 65 72 6e 61 6c | AWCheck|Internal|
|00005980| 4c 69 6e 6b 73 28 29 20 | 7b 0d 0a 20 23 69 64 61 |Links() |{.. #ida|
|00005990| 6e 63 68 6f 72 6d 65 73 | 73 61 67 65 3d 30 3b 0d |nchormes|sage=0;.|
|000059a0| 0a 0d 0a 20 69 66 20 28 | 20 28 21 69 73 44 65 66 |... if (| (!isDef|
|000059b0| 69 6e 65 64 28 22 69 6e | 74 65 72 6e 61 6c 6c 69 |ined("in|ternalli|
|000059c0| 6e 6b 65 72 72 6f 72 73 | 64 69 73 70 6c 61 79 65 |nkerrors|displaye|
|000059d0| 64 22 29 29 20 26 26 20 | 28 21 73 65 74 46 6c 61 |d")) && |(!setFla|
|000059e0| 67 28 32 30 30 2c 38 2c | 2d 31 29 29 20 29 20 7b |g(200,8,|-1)) ) {|
|000059f0| 0d 0a 20 20 24 69 6e 74 | 65 72 6e 61 6c 6c 69 6e |.. $int|ernallin|
|00005a00| 6b 65 72 72 6f 72 73 64 | 69 73 70 6c 61 79 65 64 |kerrorsd|isplayed|
|00005a10| 2b 2b 3b 0d 0a 20 20 66 | 6f 72 20 28 20 24 69 3d |++;.. f|or ( $i=|
|00005a20| 30 3b 20 24 69 3c 24 6e | 75 6d 69 6e 74 65 72 6e |0; $i<$n|umintern|
|00005a30| 61 6c 6c 69 6e 6b 73 3b | 20 24 69 2b 2b 20 29 20 |allinks;| $i++ ) |
|00005a40| 7b 0d 0a 20 20 20 24 6c | 69 6e 6b 3d 24 69 6e 74 |{.. $l|ink=$int|
|00005a50| 65 72 6e 61 6c 6c 69 6e | 6b 73 61 72 72 61 79 5b |ernallin|ksarray[|
|00005a60| 24 69 5d 3b 0d 0a 20 0d | 0a 20 20 20 23 65 72 72 |$i];.. .|. #err|
|00005a70| 6f 72 3d 31 3b 20 0d 0a | 20 20 20 66 6f 72 20 28 |or=1; ..| for (|
|00005a80| 20 24 6a 3d 30 3b 20 28 | 24 65 72 72 6f 72 3d 3d | $j=0; (|$error==|
|00005a90| 31 29 20 26 26 20 28 24 | 6a 3c 24 6e 75 6d 69 64 |1) && ($|j<$numid|
|00005aa0| 61 74 74 75 73 65 64 29 | 20 3b 20 24 6a 2b 2b 20 |attused)| ; $j++ |
|00005ab0| 29 20 7b 0d 0a 20 20 20 | 20 69 66 20 28 20 73 74 |) {.. | if ( st|
|00005ac0| 72 63 6d 70 28 24 6c 69 | 6e 6b 2c 20 24 69 64 61 |rcmp($li|nk, $ida|
|00005ad0| 74 74 75 73 65 64 61 72 | 72 61 79 5b 24 6a 5d 29 |ttusedar|ray[$j])|
|00005ae0| 3d 3d 30 20 29 20 7b 0d | 0a 20 20 20 20 20 23 65 |==0 ) {.|. #e|
|00005af0| 72 72 6f 72 3d 30 3b 0d | 0a 20 20 20 20 20 69 66 |rror=0;.|. if|
|00005b00| 20 28 20 24 69 64 61 74 | 74 75 73 65 64 74 79 70 | ( $idat|tusedtyp|
|00005b10| 65 61 72 72 61 79 5b 24 | 6a 5d 3d 3d 31 20 29 20 |earray[$|j]==1 ) |
|00005b20| 7b 0d 0a 20 20 20 20 20 | 20 69 66 20 28 20 69 73 |{.. | if ( is|
|00005b30| 56 61 6c 75 65 49 6e 41 | 72 72 61 79 28 22 66 6c |ValueInA|rray("fl|
|00005b40| 61 67 33 35 65 78 63 6c | 75 64 65 61 72 72 61 79 |ag35excl|udearray|
|00005b50| 22 2c 20 24 69 64 61 74 | 74 75 73 65 64 61 72 72 |", $idat|tusedarr|
|00005b60| 61 79 5b 24 6a 5d 2c 20 | 31 29 3d 3d 2d 31 20 29 |ay[$j], |1)==-1 )|
|00005b70| 20 7b 0d 0a 20 20 20 20 | 20 20 20 23 69 64 61 6e | {.. | #idan|
|00005b80| 63 68 6f 72 6d 65 73 73 | 61 67 65 3d 31 3b 0d 0a |chormess|age=1;..|
|00005b90| 20 20 20 20 20 20 20 24 | 69 64 61 6e 63 68 6f 72 | $|idanchor|
|00005ba0| 6d 73 67 69 64 3d 24 69 | 64 61 74 74 75 73 65 64 |msgid=$i|dattused|
|00005bb0| 61 72 72 61 79 5b 24 6a | 5d 3b 0d 0a 20 20 20 20 |array[$j|];.. |
|00005bc0| 20 20 7d 0d 0a 20 20 20 | 20 20 7d 0d 0a 20 20 20 | }.. | }.. |
|00005bd0| 20 7d 0d 0a 20 20 20 7d | 0d 0a 0d 0a 20 20 20 69 | }.. }|.... i|
|00005be0| 66 20 28 20 24 65 72 72 | 6f 72 3d 3d 31 20 29 20 |f ( $err|or==1 ) |
|00005bf0| 7b 0d 0a 20 20 20 20 4d | 65 73 73 61 67 65 28 21 |{.. M|essage(!|
|00005c00| 63 68 65 63 6b 53 74 72 | 69 6e 67 28 33 32 2c 20 |checkStr|ing(32, |
|00005c10| 24 6c 69 6e 6b 29 2c 20 | 24 6d 73 67 74 79 70 65 |$link), |$msgtype|
|00005c20| 2c 20 27 53 6f 6d 65 77 | 68 65 72 65 20 69 6e 20 |, 'Somew|here in |
|00005c30| 79 6f 75 72 20 64 6f 63 | 75 6d 65 6e 74 20 79 6f |your doc|ument yo|
|00005c40| 75 27 20 2b 20 22 27 22 | 20 2b 20 27 76 65 20 6c |u' + "'"| + 've l|
|00005c50| 69 6e 6b 65 64 20 74 6f | 20 74 68 65 20 6e 6f 6e |inked to| the non|
|00005c60| 65 78 69 73 74 65 6e 74 | 20 69 6e 74 65 72 6e 61 |existent| interna|
|00005c70| 6c 20 6c 69 6e 6b 20 22 | 27 20 2b 20 24 6c 69 6e |l link "|' + $lin|
|00005c80| 6b 20 2b 20 27 22 20 62 | 79 20 75 73 69 6e 67 20 |k + '" b|y using |
|00005c90| 3c 61 20 68 72 65 66 3d | 22 23 27 20 2b 20 24 6c |<a href=|"#' + $l|
|00005ca0| 69 6e 6b 20 2b 20 27 22 | 3e 20 2e 2e 2e 20 3c 2f |ink + '"|> ... </|
|00005cb0| 61 3e 2e 20 59 6f 75 20 | 73 68 6f 75 6c 64 20 72 |a>. You |should r|
|00005cc0| 65 6d 6f 76 65 20 74 68 | 69 73 20 6c 69 6e 6b 20 |emove th|is link |
|00005cd0| 6f 72 20 6d 61 6b 65 20 | 73 75 72 65 20 74 68 61 |or make |sure tha|
|00005ce0| 74 20 69 74 20 6c 69 6e | 6b 73 20 74 6f 20 73 6f |t it lin|ks to so|
|00005cf0| 6d 65 77 68 65 72 65 20 | 69 6e 20 79 6f 75 72 20 |mewhere |in your |
|00005d00| 64 6f 63 75 6d 65 6e 74 | 20 62 79 20 75 73 69 6e |document| by usin|
|00005d10| 67 20 3c 61 20 6e 61 6d | 65 3d 22 27 20 2b 20 24 |g <a nam|e="' + $|
|00005d20| 6c 69 6e 6b 20 2b 27 22 | 3e 20 2e 2e 2e 20 3c 2f |link +'"|> ... </|
|00005d30| 61 3e 20 6f 72 20 3c 65 | 6c 65 6d 65 6e 74 20 69 |a> or <e|lement i|
|00005d40| 64 3d 22 27 20 2b 20 24 | 6c 69 6e 6b 20 2b 20 27 |d="' + $|link + '|
|00005d50| 22 2e 2e 2e 3e 2e 27 29 | 3b 0d 0a 20 20 20 7d 0d |"...>.')|;.. }.|
|00005d60| 0a 20 20 7d 0d 0a 20 7d | 0d 0a 0d 0a 20 69 66 20 |. }.. }|.... if |
|00005d70| 28 20 69 73 46 6c 61 67 | 53 65 74 28 33 35 29 20 |( isFlag|Set(35) |
|00005d80| 26 26 20 28 24 69 64 61 | 6e 63 68 6f 72 6d 65 73 |&& ($ida|nchormes|
|00005d90| 73 61 67 65 3d 3d 31 29 | 20 29 20 7b 0d 0a 20 20 |sage==1)| ) {.. |
|00005da0| 4d 65 73 73 61 67 65 28 | 31 2c 20 24 4d 53 47 5f |Message(|1, $MSG_|
|00005db0| 43 4f 4d 4d 45 4e 54 2c | 20 27 5b 33 35 5d 20 59 |COMMENT,| '[35] Y|
|00005dc0| 6f 75 20 68 61 76 65 20 | 6f 6e 65 20 6f 72 20 6d |ou have |one or m|
|00005dd0| 6f 72 65 20 69 6e 74 65 | 72 6e 61 6c 20 6c 69 6e |ore inte|rnal lin|
|00005de0| 6b 73 20 6c 69 6e 6b 69 | 6e 67 20 74 6f 20 61 6e |ks linki|ng to an|
|00005df0| 20 49 44 20 6c 69 6e 6b | 20 64 65 73 74 69 6e 61 | ID link| destina|
|00005e00| 74 69 6f 6e 2e 20 42 72 | 6f 77 73 65 72 20 73 75 |tion. Br|owser su|
|00005e10| 70 70 6f 72 74 20 66 6f | 72 20 74 68 69 73 20 69 |pport fo|r this i|
|00005e20| 73 20 63 75 72 72 65 6e | 74 6c 79 20 76 65 72 79 |s curren|tly very|
|00005e30| 20 70 6f 6f 72 2e 20 43 | 6f 6e 73 69 64 65 72 20 | poor. C|onsider |
|00005e40| 75 73 69 6e 67 20 73 6f | 6d 65 74 68 69 6e 67 20 |using so|mething |
|00005e50| 6c 69 6b 65 20 3c 61 20 | 6e 61 6d 65 3d 22 27 20 |like <a |name="' |
|00005e60| 2b 20 24 69 64 61 6e 63 | 68 6f 72 6d 73 67 69 64 |+ $idanc|hormsgid|
|00005e70| 20 2b 20 27 22 3e 20 2e | 2e 2e 20 3c 2f 61 3e 20 | + '"> .|.. </a> |
|00005e80| 6f 72 20 3c 61 20 6e 61 | 6d 65 3d 22 27 20 2b 20 |or <a na|me="' + |
|00005e90| 24 69 64 61 6e 63 68 6f | 72 6d 73 67 69 64 20 2b |$idancho|rmsgid +|
|00005ea0| 20 27 22 20 69 64 3d 22 | 27 20 2b 20 24 69 64 61 | '" id="|' + $ida|
|00005eb0| 6e 63 68 6f 72 6d 73 67 | 69 64 20 2b 20 27 22 3e |nchormsg|id + '">|
|00005ec0| 20 2e 2e 2e 20 3c 2f 61 | 3e 20 69 6e 73 74 65 61 | ... </a|> instea|
|00005ed0| 64 2e 27 29 3b 0d 0a 20 | 7d 0d 0a 7d 0d 0a 0d 0a |d.');.. |}..}....|
|00005ee0| 66 75 6e 63 74 69 6f 6e | 20 61 63 74 69 76 61 74 |function| activat|
|00005ef0| 65 43 61 74 65 67 6f 72 | 69 65 73 28 29 20 7b 0d |eCategor|ies() {.|
|00005f00| 0a 20 69 66 20 28 20 28 | 24 61 63 74 69 76 65 63 |. if ( (|$activec|
|00005f10| 61 74 66 6c 61 67 73 26 | 31 29 20 29 20 7b 0d 0a |atflags&|1) ) {..|
|00005f20| 20 20 61 63 74 69 76 61 | 74 65 43 61 74 65 67 6f | activa|teCatego|
|00005f30| 72 79 28 38 2c 31 29 3b | 0d 0a 20 20 61 63 74 69 |ry(8,1);|.. acti|
|00005f40| 76 61 74 65 43 61 74 65 | 67 6f 72 79 28 32 30 2c |vateCate|gory(20,|
|00005f50| 31 29 3b 0d 0a 20 20 61 | 63 74 69 76 61 74 65 43 |1);.. a|ctivateC|
|00005f60| 61 74 65 67 6f 72 79 28 | 32 31 2c 31 29 3b 0d 0a |ategory(|21,1);..|
|00005f70| 20 20 61 63 74 69 76 61 | 74 65 43 61 74 65 67 6f | activa|teCatego|
|00005f80| 72 79 28 33 30 2c 31 29 | 3b 0d 0a 20 20 61 63 74 |ry(30,1)|;.. act|
|00005f90| 69 76 61 74 65 43 61 74 | 65 67 6f 72 79 28 33 34 |ivateCat|egory(34|
|00005fa0| 2c 31 29 3b 0d 0a 20 7d | 0d 0a 7d 0d 0a 0d 0a 2f |,1);.. }|..}..../|
|00005fb0| 2a 20 69 66 20 28 20 69 | 73 46 6c 61 67 53 65 74 |* if ( i|sFlagSet|
|00005fc0| 28 35 36 29 20 29 20 7b | 0d 0a 20 20 24 69 73 69 |(56) ) {|.. $isi|
|00005fd0| 6e 72 61 6e 67 65 74 61 | 67 3d 69 73 49 6e 52 61 |nrangeta|g=isInRa|
|00005fe0| 6e 67 65 45 78 28 31 2c | 20 22 70 22 29 3b 0d 0a |ngeEx(1,| "p");..|
|00005ff0| 20 20 69 66 20 28 20 73 | 74 72 63 6d 70 28 24 69 | if ( s|trcmp($i|
|00006000| 73 69 6e 72 61 6e 67 65 | 74 61 67 2c 22 22 29 21 |sinrange|tag,"")!|
|00006010| 3d 30 20 29 20 7b 0d 0a | 20 20 20 4d 65 73 73 61 |=0 ) {..| Messa|
|00006020| 67 65 28 31 2c 20 24 4d | 53 47 5f 57 41 52 4e 49 |ge(1, $M|SG_WARNI|
|00006030| 4e 47 2c 20 27 5b 35 36 | 5d 20 54 68 65 20 22 27 |NG, '[56|] The "'|
|00006040| 20 2b 20 67 65 74 54 61 | 67 4e 61 6d 65 28 29 20 | + getTa|gName() |
|00006050| 2b 20 27 22 20 74 61 67 | 20 69 73 20 63 6f 6e 74 |+ '" tag| is cont|
|00006060| 61 69 6e 65 64 20 69 6e | 20 61 20 22 27 20 2b 20 |ained in| a "' + |
|00006070| 24 69 73 69 6e 72 61 6e | 67 65 74 61 67 20 2b 20 |$isinran|getag + |
|00006080| 27 22 20 74 61 67 2e 20 | 49 74 20 69 73 20 61 20 |'" tag. |It is a |
|00006090| 67 6f 6f 64 20 69 64 65 | 61 20 74 6f 20 65 78 70 |good ide|a to exp|
|000060a0| 6c 69 63 69 74 6c 79 20 | 63 6c 6f 73 65 20 74 68 |licitly |close th|
|000060b0| 65 20 22 27 20 2b 20 24 | 69 73 69 6e 72 61 6e 67 |e "' + $|isinrang|
|000060c0| 65 74 61 67 20 2b 20 27 | 22 20 74 61 67 20 28 77 |etag + '|" tag (w|
|000060d0| 68 69 63 68 20 77 61 73 | 20 6f 70 65 6e 65 64 20 |hich was| opened |
|000060e0| 69 6e 20 6c 69 6e 65 20 | 27 20 2b 20 74 6f 53 74 |in line |' + toSt|
|000060f0| 72 69 6e 67 28 24 69 73 | 69 6e 72 61 6e 67 65 65 |ring($is|inrangee|
|00006100| 78 6c 69 6e 65 29 20 2b | 20 27 29 20 62 65 66 6f |xline) +| ') befo|
|00006110| 72 65 20 75 73 69 6e 67 | 20 74 68 65 20 22 27 20 |re using| the "' |
|00006120| 2b 20 67 65 74 54 61 67 | 4e 61 6d 65 28 29 20 2b |+ getTag|Name() +|
|00006130| 20 27 22 20 65 6c 65 6d | 65 6e 74 2e 20 53 6f 6d | '" elem|ent. Som|
|00006140| 65 20 62 72 6f 77 73 65 | 72 73 2c 20 73 75 63 68 |e browse|rs, such|
|00006150| 20 61 73 20 49 6e 74 65 | 72 6e 65 74 20 45 78 70 | as Inte|rnet Exp|
|00006160| 6c 6f 72 65 72 2c 20 6d | 61 79 20 6e 6f 74 20 68 |lorer, m|ay not h|
|00006170| 61 76 65 20 61 20 70 72 | 6f 62 6c 65 6d 20 77 69 |ave a pr|oblem wi|
|00006180| 74 68 20 74 68 69 73 2c | 20 62 75 74 20 73 6f 6d |th this,| but som|
|00006190| 65 20 62 72 6f 77 73 65 | 72 73 2c 20 73 75 63 68 |e browse|rs, such|
|000061a0| 20 61 73 20 4e 65 74 73 | 63 61 70 65 2c 20 6d 61 | as Nets|cape, ma|
|000061b0| 79 20 68 61 76 65 20 70 | 72 6f 62 6c 65 6d 73 20 |y have p|roblems |
|000061c0| 75 6e 64 65 72 20 63 65 | 72 74 61 69 6e 20 63 69 |under ce|rtain ci|
|000061d0| 72 63 75 6d 73 74 61 6e | 63 65 73 2e 20 49 66 20 |rcumstan|ces. If |
|000061e0| 79 6f 75 20 64 6f 6e 27 | 20 2b 20 22 27 22 20 2b |you don'| + "'" +|
|000061f0| 20 27 74 20 77 61 6e 74 | 20 74 6f 20 63 6c 6f 73 | 't want| to clos|
|00006200| 65 20 61 6c 6c 20 22 27 | 20 2b 20 24 69 73 69 6e |e all "'| + $isin|
|00006210| 72 61 6e 67 65 74 61 67 | 20 2b 20 27 22 20 74 61 |rangetag| + '" ta|
|00006220| 67 73 2c 20 74 68 65 6e | 20 79 6f 75 20 73 68 6f |gs, then| you sho|
|00006230| 75 6c 64 20 75 6e 63 68 | 65 63 6b 20 66 6c 61 67 |uld unch|eck flag|
|00006240| 20 35 36 20 73 6f 20 74 | 68 61 74 20 74 68 69 73 | 56 so t|hat this|
|00006250| 20 6d 65 73 73 61 67 65 | 20 69 73 20 6e 6f 74 20 | message| is not |
|00006260| 64 69 73 70 6c 61 79 65 | 64 2e 27 29 3b 0d 0a 20 |displaye|d.');.. |
|00006270| 20 7d 0d 0a 20 7d 20 2a | 2f 0d 0a 0d 0a 66 75 6e | }.. } *|/....fun|
|00006280| 63 74 69 6f 6e 20 70 72 | 6f 63 65 73 73 4a 6f 62 |ction pr|ocessJob|
|00006290| 53 75 62 54 79 70 65 28 | 29 20 7b 0d 0a 20 72 75 |SubType(|) {.. ru|
|000062a0| 6e 50 72 6f 67 72 61 6d | 28 31 32 38 29 3b 0d 0a |nProgram|(128);..|
|000062b0| 7d 0d 0a 0d 0a 66 75 6e | 63 74 69 6f 6e 20 6f 6e |}....fun|ction on|
|000062c0| 43 6f 6e 66 69 67 4c 6f | 61 64 28 29 20 7b 0d 0a |ConfigLo|ad() {..|
|000062d0| 20 73 65 74 56 61 6c 75 | 65 49 6e 74 28 31 2c 31 | setValu|eInt(1,1|
|000062e0| 29 3b 0d 0a 20 73 65 74 | 56 61 6c 75 65 53 74 72 |);.. set|ValueStr|
|000062f0| 69 6e 67 28 32 2c 20 22 | 45 72 72 6f 72 73 20 6f |ing(2, "|Errors o|
|00006300| 6e 6c 79 22 29 3b 0d 0a | 20 73 65 74 56 61 6c 75 |nly");..| setValu|
|00006310| 65 53 74 72 69 6e 67 28 | 32 2c 20 22 45 72 72 6f |eString(|2, "Erro|
|00006320| 72 73 20 61 6e 64 20 77 | 61 72 6e 69 6e 67 73 20 |rs and w|arnings |
|00006330| 6f 6e 6c 79 22 29 3b 0d | 0a 0d 0a 20 72 75 6e 50 |only");.|... runP|
|00006340| 72 6f 67 72 61 6d 28 32 | 35 36 29 3b 0d 0a 7d 0d |rogram(2|56);..}.|
|00006350| 0a 01 00 00 00 0f 10 00 | 00 0d 0a 72 75 6e 4c 69 |........|...runLi|
|00006360| 6e 6b 43 68 65 63 6b 50 | 72 6f 67 72 61 6d 46 6f |nkCheckP|rogramFo|
|00006370| 72 54 61 67 73 28 22 61 | 22 2c 20 22 69 6d 67 22 |rTags("a|", "img"|
|00006380| 2c 20 22 66 6f 72 6d 22 | 2c 20 22 6c 69 6e 6b 22 |, "form"|, "link"|
|00006390| 2c 20 22 66 72 61 6d 65 | 22 2c 20 22 69 66 72 61 |, "frame|", "ifra|
|000063a0| 6d 65 22 2c 20 22 6f 62 | 6a 65 63 74 22 2c 20 22 |me", "ob|ject", "|
|000063b0| 62 61 73 65 22 2c 20 22 | 68 65 61 64 22 2c 20 22 |base", "|head", "|
|000063c0| 62 67 73 6f 75 6e 64 22 | 2c 20 22 69 6e 70 75 74 |bgsound"|, "input|
|000063d0| 22 2c 20 22 65 6d 62 65 | 64 22 2c 20 22 74 64 22 |", "embe|d", "td"|
|000063e0| 2c 20 22 74 68 22 2c 20 | 22 69 6e 73 22 2c 20 22 |, "th", |"ins", "|
|000063f0| 64 65 6c 22 2c 20 22 62 | 6c 6f 63 6b 71 75 6f 74 |del", "b|lockquot|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.